SmoothStreamingMediaElement.ManifestReady Event

Occurs when the manifest for the Smooth Streaming content is available for track selection.

Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Event ManifestReady As EventHandler(Of EventArgs)
'Usage

Dim instance As SmoothStreamingMediaElement
Dim handler As EventHandler(Of EventArgs)

AddHandler instance.ManifestReady, handler
public event EventHandler<EventArgs> ManifestReady
public:
 event EventHandler<EventArgs^>^ ManifestReady {
    void add (EventHandler<EventArgs^>^ value);
    void remove (EventHandler<EventArgs^>^ value);
}
member ManifestReady : <EventHandler<EventArgs>,
    EventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

Applications should parse the manifest for markers during the MediaOpened event, but not earlier. Specifically, applications should not parse the manifest during the ManifestReady event, because all markers set before MediaOpened are cleared in Silverlight when the MediaOpened event occurs.

For more information, see Select and Monitor Bitrate and Events.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace