WMS_PLAYLIST_EVENT_TYPE
Previous | Next |
WMS_PLAYLIST_EVENT_TYPE
The WMS_PLAYLIST_EVENT_TYPE enumeration type identifies playlist-related events.
Syntax
typedef enum WMS_PLAYLIST_EVENT_TYPE{ WMS_EVENT_PLAYLIST_SWITCH = 0, WMS_EVENT_PLAYLIST_CUE = 1, WMS_EVENT_PLAYLIST_MODIFY = 2, WMS_EVENT_PLAYLIST_FAILOVER = 3, WMS_NUM_PLAYLIST_EVENTS = 4 };
Members
WMS_EVENT_PLAYLIST_SWITCH
The server has switched to a new media element in a playlist and is attempting to connect to the new source. This is usually the first playlist event sent after the server creates an IWMSPlaylist interface.
WMS_EVENT_PLAYLIST_CUE
The server has begun cueing a media source. When the server cues an element, it creates a data path and buffers enough data to enable it to switch seamlessly to the new element. This event is normally sent prior to the WMS_EVENT_PLAYLIST_SWITCH event. However, unless you cue the first element in a playlist by using the CueStream method on the IWMSPlaylist interface, the WMS_EVENT_PLAYLIST_CUE event will not be sent until the second element is cued.
WMS_EVENT_PLAYLIST_MODIFY
A playlist object has been modified.
WMS_EVENT_PLAYLIST_FAILOVER
The server cannot open or connect to a media source and has performed a failover to the next media element in the playlist. The WMS_EVENT_PLAYLIST_SWITCH event is always sent before this event.
WMS_NUM_PLAYLIST_EVENTS
The number of enumeration values in the WMS_PLAYLIST_EVENT_TYPE enumeration type, not including the WMS_NUM_PLAYLIST_EVENTS value.
Remarks
This enumeration identifies subevents related to the WMS_EVENT_PLAYLIST event in the WMS_EVENT_TYPE enumeration. You can find the subevent by examining the WMS_COMMAND_CONTEXT_EVENT value in the command context.
Requirements
Header: event.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also (General)
See Also (Visual Basic .NET)
See Also (C#)
See Also (C++)
Previous | Next |