Henry Soang
Henry Soang

Reputation: 289

Buffer length setting for Video.JS Flash plugin?

I'm streaming live rtmp video from nginx to a Video.JS Flash player and see the video is consistently choppy. I noticed its delay is about 1 second from reality and would like to increase the buffer length on the Video.JS player side to avoid this choppiness. Something like the JWPlayer 'bufferlength' feature.

Any way to do this on Video.JS?

My Video.JS is added via Flash plugin like this:

<script src="bower_components/videojs/dist/video-js/video.js"></script>

Upvotes: 0

Views: 2845

Answers (1)

heff
heff

Reputation: 3239

The 1s buffer appears to be hardcoded, so there's not currently going to be any top-level player options you can set to change that. While not ideal, you can always modify and build your own swf. Also you can submit an issue on the swf repo requesting that be exposed.

Upvotes: 0

Related Questions