IIS 7 & IIS 8
Prebuffering on Smooth Streaming?
Last post Apr 28, 2012 07:15 AM by blueeinstein
Feb 01, 2010 01:19 PM|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|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|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|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|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|LINK
Right said, there are two problems
Apr 27, 2012 04:24 PM|LINK
Apr 28, 2012 07:15 AM|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 :)