IWMSStreamSignalHandler.OnStreamSignal (C#)

banner art

Previous Next

IWMSStreamSignalHandler.OnStreamSignal (C#)

The OnStreamSignal method provides notification of a stream signal.

Syntax

  

Parameters

dwSignalType

uint that contains 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 Indicates that dead air (a signal containing only silence) is being sent down the data path.
WMS_DATA_LOSS_DETECTED Indicates that data was lost by a network data container.
WMS_END_OF_STREAM Indicates that the server has reached the end of a stream.
WMS_NO_STREAM_CHANGE Indicates that no change has been made to the stream.
WMS_PLAYLIST_BEGIN_ELEMENT_EVENT Indicates a playlist begin element event.
WMS_PLAYLIST_CHANGED Indicates that 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 Indicates that a playlist stream was queued.
WMS_PLAYLIST_UNCUE_EVENT Indicates a playlist un-cue event.
WMS_RESET_TO_REAL_TIME Indicates that the server has stopped streaming at an accelerated rate to clients.
WMS_REUSE_ACCEL_PARAMS Indicates that the server should continue streaming at an accelerated rate.
WMS_STREAM_ERROR Indicates that an error has occurred in the stream.
WMS_STREAM_ERROR_HANDLED_BY_PLAYLIST Indicates that 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 Indicates that the server has finished switching to a new stream.

pSignalParameter

Reference to an object that contains an optional signal parameter.

pPresentation

IWMSContext object that contains the context associated with this stream signal.

Return Values

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.

See Also

Previous Next