Share via


IWMSStreamSignalHandler::OnStreamSignal

banner art

Previous Next

IWMSStreamSignalHandler::OnStreamSignal

The OnStreamSignal method provides notification of a stream signal.

Syntax

  

Parameters

dwSignalType

[in] DWORD 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 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

[in] Pointer to a VARIANT containing an optional signal parameter.

pPresentation

[in] Pointer to an IWMSContext interface containing the context associated with this stream signal.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Requirements

Header: wmspacket.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Previous Next