start time from a known point in dvr

Aug 26, 2011 at 12:09 AM

I have a smooth streaming with dvr option, how do I start from a point back in time?

PlaylistItem playItem;

playItem = new PlaylistItem();
playItem.MediaSource = new Uri("http://...");
playItem.DeliveryMethod = DeliveryMethods.AdaptiveStreaming;
playItem.LiveDvrRequired = true;
 playItem.StartPosition = new TimeSpan(0,-1,0); //??here i want to start playing with a 1 min delay


Aug 26, 2011 at 12:31 AM

tatigo, StartPosition will determine where to start the video at, not when to start the video.

To delay playback, set AutoPlay=false, create a timer in your app that waits 1 min and then call .Play() to begin playback.

Hope that helps,


Aug 26, 2011 at 3:01 PM
Edited Aug 29, 2011 at 3:19 PM

Thanks Tim,

I need to use the DVR capabilities, to be able to scrub back to an earlier point in the video using the timeline while in live media.

I was playing with the various start positions and the offsets but it won't help, all I can go back is the standard 1 min. But how do I change this?

Please help!

 Update: solution found, there was a bug in the source code, see my other posts.