Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The OnStreamSignal method provides notification of a stream signal.
IWMSStreamSignalHandler.OnStreamSignal( dwSignalType As UInt32,
By Ref pSignalParameter As Object,
pPresentation As IWMSContext
)
Arguments
UInt32 containing a member of the WMS_STREAM_SIGNAL_TYPE enumeration type. This must be one of the following values. |
Value |
Description |
|---|---|
WMS_BEGIN_NO_DATA_PERIOD |
Dead air (a signal containing only silence) is being sent down the data path. |
WMS_DATA_LOSS_DETECTED |
Data was lost by a network data container. |
WMS_END_OF_STREAM |
The server has reached the end of a stream. |
WMS_NO_STREAM_CHANGE |
No change has been made to the stream. |
WMS_PLAYLIST_BEGIN_ELEMENT_EVENT |
Indicates a playlist begin element event. |
WMS_PLAYLIST_CHANGED |
The server has switched to a new item in the playlist. |
WMS_PLAYLIST_CUE_EVENT |
Indicates a playlist cue event. |
WMS_PLAYLIST_END_ELEMENT_EVENT |
Indicates a playlist end element event. |
WMS_PLAYLIST_EVENT |
Indicates a playlist event. |
WMS_PLAYLIST_STREAM_QUEUED |
A playlist stream was queued. |
WMS_PLAYLIST_UNCUE_EVENT |
Indicates a playlist uncue event. |
WMS_RESET_TO_REAL_TIME |
The server stopped streaming at an accelerated rate to clients. |
WMS_REUSE_ACCEL_PARAMS |
The server should continue streaming at an accelerated rate. |
WMS_STREAM_ERROR |
An error occurred in the stream. |
WMS_STREAM_ERROR_HANDLED_BY_PLAYLIST |
A stream error occurred that caused the server to failover to a different entry in a playlist. This can occur if the source that a playlist entry references does not exist. |
WMS_STREAM_SWITCH_DONE |
The server finished switching to a new stream. |
Reference to an Object containing an optional signal parameter. |
|
IWMSContextIWMSContext Object (Visual Basic .NET) containing the context associated with this stream signal. |
Return Value
This method does not return a value.
Requirements
Reference: Add a reference to Microsoft.WindowsMediaServices.
Namespace: Microsoft.WindowsMediaServices.Interop.
Assembly: Microsoft.WindowsMediaServices.dll.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.