Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Setting max buffer


Our system streams live feed. Apparently the delay should be minimal. I setup bufferlength to 0.5 but after a while (few hours) player accumulates buffer of several minutes. In ver.5 I executed

_stream.bufferTimeMax = 3;

in RTMPMediaProvider.as function setStream().

Is it possible to setup this parameter in ver6. HTML5? If not, where in the code should I make the change to alter max buffer?

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

The only thing you can set in JW6 is the bufferlength for RTMP – http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming

JW Player

User  
0 rated :

May be it is possible to monitor the amount of data in the buffer and when it surpasses certain value to erase it. My question is what file/function should I look for.

Ethan Feldman

JW Player Support Agent  
0 rated :

Possibly. I don’t think it will be trivial though. If you want to take a look, the source is here – http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-6.5

This question has received the maximum number of answers.