Resumes the reception or the emission of a data type in a stream. This type of data was stopped by StreamStop
// Resumes the reception of sound in the stream
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:
|StreamIncomingSound||Incoming sound stream.|
|StreamIncomingVideo||Incoming video stream.|
|StreamOutgoingSound||Outgoing sound stream.|
|StreamOutgoingVideo||Outgoing video stream.|
- Constants corresponding to a combination of constants:
|Video + Sound stream (StreamFullDuplexSound + StreamFullDuplexVideo).|
|StreamFullDuplexSound||Incoming and outgoing sound stream (corresponds to StreamOutgoingSound + StreamIncomingSound).|
|StreamFullDuplexVideo||Incoming and outgoing video stream (corresponds to StreamOutgoingVideo + FluxVidéoRéception).|
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 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.
: 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
Complete examples (WINDEV): WD Video Conference