Share via


WMS_Playlist_Event Class

banner art

Previous Next

WMS_Playlist_Event Class

The WMS_Playlist_Event class indicates changes in a playlist. Unlike the internal playlist events, the events in this class can only be sent for a broadcast publishing point playlist. They cannot be sent for an on-demand publishing point playlist. The following table identifies the properties of this class.

Display name Property name Data type Value Description
Sub-event SubEvent uint32   Indicates a specific plug-in event.
      Switch=0 The server switched to a new media element in the playlist and is attempting to open or connect to the media source. This is normally the first playlist event that is raised after the server creates the IWMSPlaylist object.
      Cue=1 The server started to cue up the media source referenced by a media element in the playlist. When the server cues up an element, it prepares a data path and buffers media data so that it can seamlessly switch to the cued element. This event is normally raised prior to the switch event. However, unless you programmatically cue up an element by using the CueStream method on the IWMSPlaylist interface, this event will not be raised for the first element in a playlist.
      WMS_EVENT_PLAYLIST_MODIFY=2 A playlist has been modified.
      Failover=3 The server is unable to open or connect to the specified media source. Therefore, it tries the next media element in the playlist. The switch event is sent before this event.
Publishing Point ID PublishingPointID String   Contains the ID for the publishing point that is streaming the playlist.
Publishing Point Name PublishingPointName String   Contains the name of the publishing point that is streaming the playlist.
Publishing Point Moniker PublishingPointMoniker String   Contains the moniker display name for the publishing point that is streaming the playlist.
UniqueRunTimeID UniqueRunTimeID unit32   Contains a unique Runtime ID for each playlist element.
URL URL String   Contains the URL for the media element.

See Also

Previous Next