videojs / video.js

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

Support multi streams for RTMP protocol #1614

Closed askoretskiy closed 9 years ago

askoretskiy commented 9 years ago

As of your blog post -- http://blog.videojs.com/post/60471080014/video-js-4-2-0-released-rtmp-css-designer-and and my experience -- there is no support for multiple RTMP streams.

There should be 2 things as a result:

  1. Manual switch between different streams
  2. Automatic switch between different streams -- that Adobe Flash player already knows how to do
tomjohnson916 commented 9 years ago

@tonnzor - The blog post in question announces support for basic single bitrate playback of RTMP streams. That level of support currently exists and functions as expected. Adaptive playback of RTMP streams would be a nice addition but based on limited demand would need to be done by a contributor of the videojs-swf project located at https://github.com/videojs/video-js-swf.

Also - I could be wrong, but I don't believe the Adobe Flash Player itself has native support for the full adaptive streaming behavior you're looking for outside of using Adobe's OSMF framework. There is the NetStream.play2 method of course; but a full adaptive solution is quite a bit more than than just stream management. If you are interested, I have provided a baseline reference for using OSMF in Video.JS at https://github.com/seniorflexdeveloper/videojs-osmf. It was not built for RTMP support out of the box, but should be easily extendable should you wish to do so.

@heff - This issue should be moved to the videojs-swf project or closed for the reasons above.