PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
Refuses a request for stream connection. The incoming stream will not be associated with a Conference control. This function must be used in the "Connection Request" process associated with the stream.
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
// -- "Connection request from new stream" process
// Procedure used to detect a new stream
// nStreamID is an integer variable containing the identifier of the detected stream
PROCEDURE NewStream(nStreamID)
// Accept the detected stream?
IF YesNo("New call received: " + StreamInfo(nStreamID), "Do you accept this call? ") = Yes THEN
StreamAccept(nStreamID, MySelf)
ELSE
StreamReject(nStreamID)
END
Syntax
StreamReject(<Connection Identifier>)
<Connection Identifier>: Integer
Identifier of stream connection. This identifier is known in the "Connection request" process associated with the stream.
Remarks

Procedure for stream detection

The "Request for connecting a new stream" process is run when a request for incoming stream connection is detected.
This process is run only if:
  • ..Detection applied to the stream is set to True.
  • the "Detection of incoming streams" option was checked in the description window of the streams.
Note: This process is run in a specific thread of WLanguage. Therefore, it is subject to limitations specific to the threads. See Managing the threads 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.
Components
WINDEVReports and Queries wd230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment