How does OSMF (v2.0) compute the max buffer length for HDS streams (pre-recorded)?
I have mediaPlayer.bufferTime = 5 seconds, but I see that even on very good b/w connections, the buffer length does not exceed 7.5 secs. Is there a way to increase the maximum buffer length value, so that clients on higher b/w can accumulate a larger buffer?
By comparison, for RTMP, the buffer length seems to go up to 60sec which is consistent with what the docs say here:
Did you ever learn how to do this?
No. Did not find a way to set the maxBuffer value, but I was able to workaround the problem by setting the mediaPlayer.bufferTime dynamically (i.e different values for various stages of playback, like loading, seeking, buffering, normal playback etc.)..So setting bufferTime to 60 secs during normal playback allows the buffer to grow to a decent size.