Hi ,
I met a problem when change expandedBufferTime and optimizeBuffering through flashvars.
After set up my IP camera, set video source Url as my IP camera live stream url rtmp://192.168.1.39/live/mp4:test.mp4 on http://www.osmf.org/configurator/fmp/# , on web page can view realtime stream from IP camera.
When network bandwith is not good, for example some frames lost, after some seconds bandwith become well , i find long time buffering before stream resume again.
For example, after connected to IP Camera, stream plays 20 seconds normally,suddenly IP camera drops frame data for 5 seconds(drop all data durning 5 seconds), and then IP camera send out realtime frames normally, on web page, when IP Camera starting drop frames, player is blocked on one frame and show buffering, after 5 seconds, IP camera sending out frames again, but player still stop on one frame, wait another 10 seconds, player start playing, here player cached 10 seconds frame data, so i set expandedBufferTime as 2 seconds, but seems can not take effact, player always cache 10 seconds, player setting is like this :
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param>
<param name="flashvars" value="src=rtmp%3A%2F%2F192.168.1.39%2Flive%2Fmp4%3Atest.mp4&streamTy pe=live&optimizeInitialIndex=false&expandedBufferTime=2&minContinuousP laybackTime=2"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed
src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="409"
flashvars="src=rtmp%3A%2F%2F192.168.1.39%2Flive%2Fmp4%3Atest.mp4&stre amType=live&optimizeInitialIndex=false&expandedBufferTime=2&minContinu ousPlaybackTime=2">
</embed>
</object>
My Flash player version is 11.5.31.2 showing through right click on player.
Noted that i have tried change optimizeInitialIndex to false and true, or change streamType as live or recorded, player always cache 10 seconds frame data after IP Camera resume sending data, how can i change the buffer time to a value as small as possible ? Or my flashvars is wrong ? Wait for help !