video.js icon indicating copy to clipboard operation
video.js copied to clipboard

Adaptive Streaming Support

Open sprice opened this issue 13 years ago • 13 comments

Adaptive streaming would allow the player to automatically switch source files to use a different bitrate depending on the speed of the users connection. This would provide an improved experience for users by playing the best quality file possible.

I think we would need to add this to the Flash fallback first, as Media Source Extensions are not in all browsers yet (AFAIK just part of the spec is in Chrome).

sprice avatar Aug 19 '13 22:08 sprice

Adaptive is partially supported today in Safari and iOS using the HLS format, and relying on the browser to handle the adaptive piece.

There's active work being done on adaptive streaming support in an external branch of the Flash fallback. I'd expect there to be more news around that in the next few months.

In the mean time I'll leave this issue open as a place for notes around adaptive.

heff avatar Aug 20 '13 21:08 heff

Just thought I'd check-in on this. Any updates on adaptive bit rate support for non-HLS streams?

jeffreywescott avatar Dec 04 '13 22:12 jeffreywescott

@jeffreywescott What streams are you interested in?

heff avatar Dec 09 '13 19:12 heff

@heff adaptive bit rates for flash streaming.

trshafer avatar Dec 09 '13 20:12 trshafer

What @growlypants said -- adaptive birate on the non-Safari desktop experience.

jeffreywescott avatar Dec 09 '13 20:12 jeffreywescott

Got it. There's some progress being made in the https://github.com/videojs/videojs-contrib-hls project. Keep on eye on that if you're interested.

heff avatar Dec 09 '13 20:12 heff

What about adaptive RTMP streaming with FMS?

skrichten avatar Feb 15 '14 13:02 skrichten

What about adaptive streaming for non supported MSE(Media Source Extension) browsers ?

maheshiv avatar Feb 18 '14 13:02 maheshiv

@maheshiv, some work is being done around MSE in the videojs-contrib-media-sources project.

@skrichten I don't think we'll get to adaptive RTMP any time soon but if we can find a contributor to do it we can discuss it on the videojs-swf project.

heff avatar Feb 18 '14 19:02 heff

Since this work is being done in other plugins such as contrib-hls and not the core project, I'm going to close this one down.

mmcc avatar May 24 '14 00:05 mmcc

Hi, Is there any way to get the bitrate of the videojs current video played in Mac Safari , iOS Safari and android chrome ? I have tried player.tech({ IWillNotUseThisInPlugins: true }).hls.bandwidth which is not working on the above mentioned browsers . I have added

naveen2245 avatar Mar 07 '17 12:03 naveen2245

@naveen2245,

If you are using the hls plugin you can get everything you need with this call,

videoPlayer.on('loadedmetadata', function() {
  
    var player = this;
    console.log("player.tech_.hls", player.tech_.hls);
  

});

samueleastdev avatar Mar 07 '17 12:03 samueleastdev

is there a facility of adaptive bit rate streaming in videojs player for all browsers. if yes could u pls snd me that part of code responsible for this.

bhartendukumar12 avatar May 10 '17 05:05 bhartendukumar12