ScheduleClip Method

Schedules playing of a media clip.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

OverloadĀ List

Name Description
Public method ScheduleClip(ClipInformation, ClipContext, Object) Schedules play of a media clip.
Public method ScheduleClip(ClipInformation, Boolean, Object) Schedules playing of a media clip.
Public method ScheduleClip(ClipInformation, Boolean, TimeSpan, Object) Schedules playing of a media clip.
Public method ScheduleClip(ClipInformation, TimeSpan, Boolean, Object) Schedules playing of a media clip.

Remarks

The method inserts a clip that will play for its duration, after which the stream that was interrupted resumes.

There are several ways to schedule clips to play before and during a media presentation. You can schedule a clip from an event handler such as the MarkerReached event. Another scenario, known as pre-roll, can be initialized from the ManifestReady event. Clips can also be chained together by using the overload of the ScheduleClip(ClipInformation, ClipContext, Object) method that has the clipToAppendTo parameter. In this scenario, the clipToAppendTo parameter is set to the ClipContext value of another clip.

For more information and for examples, see Scheduling Media Clips (IIS Smooth Streaming) and IIS Smooth Streaming Client 1.5.

Note

IIS Smooth Streaming clips that are scheduled by using ScheduleClip methods require manifests that start at timestamp zero.

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace