PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Procedure for stream detection
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the name and/or number of the stream issuer. This allows you to get information about the incoming connection before accepting it.
Caution: The Conference controls are no longer supported from Windows Vista.
Versions 20 and later
From version 20, the Conference controls are supported in Windows Vista and later. If you want to use the Conference control with an earlier Windows version:
  1. Display the description window of control.
  2. In the "GUI" tab, check "Use the TAPI 3.x APIs / Windows XP (for compatibility)".
  3. Validate.
New in version 20
From version 20, the Conference controls are supported in Windows Vista and later. If you want to use the Conference control with an earlier Windows version:
  1. Display the description window of control.
  2. In the "GUI" tab, check "Use the TAPI 3.x APIs / Windows XP (for compatibility)".
  3. Validate.
From version 20, the Conference controls are supported in Windows Vista and later. If you want to use the Conference control with an earlier Windows version:
  1. Display the description window of control.
  2. In the "GUI" tab, check "Use the TAPI 3.x APIs / Windows XP (for compatibility)".
  3. Validate.
Example
// Retrieves the name of stream issuer
CallerName is string = StreamInfo(StreamID)
// Retrieves the number of the stream issuer
CallerNumber is string = StreamInfo(StreamID, StreamCallerNumber)
Syntax
<Result> = StreamInfo(<Connection identifier> [, <Requested information>])
<Result>: Character string
Name or number of the stream issuer.
<Connection identifier>: Integer
Connection identifier (found in the "Connection request of new stream" event).
<Requested information>: Optional Integer constant
Information to return:
StreamCallerName
(default value)
Name of the stream issuer.
In WLanguage, this name can be returned by ..Identifier.
StreamCallerNumberNumber of the stream issuer (IP address for example).
Remarks

Procedure for stream detection

A stream is associated with the event "Connection request of new stream". This event is run when a request to connect to an incoming stream is detected.
This event is run in one of the following cases:
  • if ..Detection applied to the stream is set to True.
  • if the option "Detection of active incoming streams" has been checked in the stream description window.
Note: This event is run in a specific thread of WLanguage. Therefore, it is subject to limitations specific to the threads. See Managing threads with WINDEV for more details.
Related Examples:
The Conference control Unit examples (WINDEV): The Conference control
[ + ] Using the "Conference" control:
- Establish the connection with another user
- Communicate (image and sound) with another user via network
- Close a connection
WD Video Conference Complete examples (WINDEV): WD Video Conference
[ + ] This example uses the Conference control and presents the use of sockets via an instant messaging.
WD Video conference enables you to start a conference (sound + video) with a remote user. Furthermore, with instant messaging, you have the ability to send a file to your contact and to dialog with him.
Component : wd240com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment