IIS 7 and Above
Prebuffering on Smooth Streaming?
Last post Apr 28, 2012 07:15 AM by blueeinstein
Feb 01, 2010 01:19 PM|blueeinstein|LINK
Is it possible to tell an SSME that here's the URL, and I want you to prebuffer now with the highest bitrate. So when I tell you to play in 10 seconds, you can start with the higher quality.
Feb 01, 2010 04:22 PM|vsood|LINK
@blueeinstein - there is no way to do this today. There is an indirect way to workaround this. You could call SelectTracksForStream API to restrict the bit-rates to high bit-rate only and once you start playing you could add the other tracks back using the
same API. This is not the best way to handle this but more of a make shift solution.
Smooth Streaming Player Development Kit
Apr 26, 2012 02:31 PM|maxima120|LINK
You are saying - there is no way to do this today (Jan 2010)...
I need to tell SSME to start buffering before user clicks Play button. Can it be done
Apr 26, 2012 09:55 PM|Cool12|LINK
I think its still not possible. The media starts out playing at the lowest quality, then bumps up.
Apr 27, 2012 11:38 AM|maxima120|LINK
Ok. these are two different problems. How to make the player start with higher quality is easy. I was going to do it myself but found ready code:
My question here is - how to manage buffering. Is there a way to tell SSME from code to start buffering at a particular time.
Apr 27, 2012 04:16 PM|vsood|LINK
Right said, there are two problems
Apr 27, 2012 04:24 PM|maxima120|LINK
Apr 28, 2012 07:15 AM|blueeinstein|LINK
Alternatively, to get the best of both worlds (pre-buffer high quality bitrate AND have enough buffer to sustain your player) -- you can play the video inside a hidden DIV (taking into consideration vsood's selectTrack API) for a few seconds. Then, stop
and seek to the start point.
When the user finally hits play, it would already have those high bitrate chunks readily available. Enjoy :)