SmoothStreamingMediaElement.ScheduleLinearClip Method

Silverlight

Schedules play of a linear media clip.

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


public ClipContext ScheduleLinearClip(
	ClipInformation clipInfo,
	TimeSpan manifestTimestamp,
	Object userData
)

Parameters

clipInfo
Type: Microsoft.Web.Media.SmoothStreaming.ClipInformation
A ClipInformation object that represents the smooth clip to be scheduled.
manifestTimestamp
Type: System.TimeSpan
The manifest time of the main content where the clip is inserted.
userData
Type: System.Object
An object that can contain any data needed by the application, including the SmoothStreamingMediaElement object that will play the clip.

Return Value

Type: Microsoft.Web.Media.SmoothStreaming.ClipContext
A ClipContext object.The method inserts a clip that will play for its duration, after which the stream that was interrupted resumes.

Silverlight

Supported in: 5
Show: