Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  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.
Top

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 Note:

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.