Playing with video.js ustream m3u8 file streaming

后端 未结 3 2125
陌清茗
陌清茗 2021-02-14 21:57

I have tried to play in a web page a m3u8 file streaming with video.js, But I could not do it, I do not know where the mistake is




        
3条回答
  •  误落风尘
    2021-02-14 22:25

    I found two of the most powerful hls library for video js

    1.videojs-http-streaming

    This library has been generated from videojs-contrib-hls Based on the following description

    Notice: this project will be deprecated and is succeeded by videojs-http-streaming. VHS supports HLS and DASH and is built into video.js 7, see the video.js 7 blog post

    The short description of videojs-http-streaming library is as follows

    Play HLS, DASH, and future HTTP streaming protocols with video.js, even where they're not natively supported. Included in video.js 7 by default!.

    Github link: https://github.com/yanwsh/videojs-panorama

    2.videojs-hlsjs-plugin

    The short description of this library is as follows

    Adds HLS playback support to video.js 5.0+ using hls.js library.

    The library's strength in using it from the hls.js library

    videojs-hlsjs-plugin github link : https://github.com/streamroot/videojs-hlsjs-plugin

    hls.js github link : https://github.com/video-dev/hls.js/

    conclusion

    I used projects from both of these libraries and my experience in using them is that videojs-hlsjs-plugin library is due to using a powerful hls.js library can be a great option for large projects.

提交回复
热议问题