videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.95k stars 7.43k forks source link

Adaptive Streaming Support #695

Closed sprice closed 10 years ago

sprice commented 11 years ago

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).

heff commented 11 years ago

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.

jeffreywescott commented 10 years ago

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

heff commented 10 years ago

@jeffreywescott What streams are you interested in?

trshafer commented 10 years ago

@heff adaptive bit rates for flash streaming.

jeffreywescott commented 10 years ago

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

heff commented 10 years ago

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.

skrichten commented 10 years ago

What about adaptive RTMP streaming with FMS?

maheshiv commented 10 years ago

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

heff commented 10 years ago

@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.

mmcc commented 10 years ago

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.

naveen2245 commented 7 years ago

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

samueleastdev commented 7 years ago

@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);

});
bhartendukumar12 commented 7 years ago

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.