ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
  • Procedure for stream detection
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Resumes the reception or the emission of a data type in a stream. This type of data was stopped by StreamStop.
Example
// Resumes the reception of sound in the stream
StreamPlay(STREAM_MyStream.Value, StreamIncomingSound)
Syntax
StreamPlay(<Stream identifier> [, <Type of stream>])
<Stream identifier>: Integer
Identifier of the stream to use. This identifier is defined in the "Connection request of new stream" event associated with the stream. It can also be returned by using the Value property on the stream, or by using the name of the stream directly.
<Type of stream>: Optional Integer constant (or combination of constants)
Type of stream to resume:
  • Simple constants:
    StreamIncomingSoundIncoming sound stream.
    StreamIncomingVideoIncoming video stream.
    StreamOutgoingSoundOutgoing sound stream.
    StreamOutgoingVideoOutgoing video stream.
  • Constants corresponding to a combination of constants:
    StreamAll
    (default value)
    Video + Sound stream (StreamFullDuplexSound + StreamFullDuplexVideo).
    StreamFullDuplexSoundIncoming and outgoing sound stream (corresponds to StreamOutgoingSound + StreamIncomingSound).
    StreamFullDuplexVideoIncoming and outgoing video stream (corresponds to StreamOutgoingVideo + FluxVidéoRéception).
Remarks

Procedure for stream detection

A stream is associated with the "Connection request of new stream" event. 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 the Detection property 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. For more details on threads, see Managing threads with WINDEV.
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: wd290com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help