Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Procedure for stream detection
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Stops receiving or broadcasting a type of data in a stream. The emission or the reception of the data type can be resumed via StreamPlay.
// Stops receiving sound in the stream
StreamStop(STREAM_MyStream.Value, StreamIncomingSound)
StreamStop(<Stream identifier> [, <Type of stream>])
<Stream identifier>: Integer
Identifier of the stream to use. This identifier is defined in the event "Connection request of new stream" associated with the stream. It can also be returned by Value applied to the stream.
<Type of stream>: Optional Integer constant (or combination of constants)
Type of stream to stop:
  • Simple constants
    StreamIncomingSoundIncoming sound stream.
    StreamOutgoingSoundOutgoing sound stream.
    StreamIncomingVideoIncoming video stream.
    StreamOutgoingVideoOutgoing video stream.
  • Constants corresponding to a combination of constants
    StreamFullDuplexSoundIncoming and outgoing sound stream (corresponds to StreamOutgoingSound + StreamIncomingSound).
    StreamFullDuplexVideoIncoming and outgoing video stream (corresponds to StreamOutgoingVideo + StreamIncomingVideo).
    (default value)
    Video + Sound stream (StreamFullDuplexSound + StreamFullDuplexVideo).

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.
Remark: 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:
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 : wd260com.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment