ltmmMultiStreamTarget.WaitForSample Method

Visual Basic Example 1

Visual Basic Example 2

 

Syntax

object.WaitForSample(lTimeOut As Long) As Long

Remarks

Waits for a sample from any source to get ready.

The method must be called in the running state; calling it in the stopped state or after the end of stream is reached will return a wrong state code.

If the method fails, an error is raised. For more information, refer to the Error Codes.

See Also

Elements:

ltmmMultiStreamTarget.StreamCount Propertyd, ltmmMultiStreamTarget.SetAcceptedMediaType Method, ltmmMultiStreamTarget.GetAcceptedMediaType Method, ltmmMultiStreamTarget.GetConnectedMediaType Method, ltmmMultiStreamTarget.GetSample Method

Topics:

ltmmMultiStreamTarget Object

 

ltmmMediaType Object