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 IWMSActiveMedia object provides information about the currently active media element in a playlist. A media element can include both audio and video streams.
The IWMSActiveMedia object exposes the following properties and methods.
Property |
Description |
|---|---|
Duration |
Retrieves the total length of the media element, in milliseconds. |
Live |
Retrieves a Boolean value that indicates whether the media element originates from a live source. |
Streams |
Retrieves an IWMSActiveStreamsIWMSActiveStreams Object (Visual Basic .NET) that contains a collection of the media streams that make up the active media element. |
TotalPackets |
Retrieves the total number of data packets contained in the active media element. |
Method |
Description |
|---|---|
GetProperty |
Retrieves a specific property from the active media element. |
Example
The following example illustrates how to retrieve an IWMSActiveMedia object.
See Also
Reference
IWMSActiveStream Object (Visual Basic .NET)
IWMSPlayer Object (Visual Basic .NET)
IWMSPlaylist Object (Visual Basic .NET)