How to play rtmp live stream using videojs?

后端 未结 4 1753
谎友^
谎友^ 2020-12-31 07:08

I\'m using OBS to push live stream to my local rtmp server(node-rtsp-rtmp-server), and it works well with VLC media player. I just want to put it into a webpage and i found

4条回答
  •  孤独总比滥情好
    2020-12-31 07:29

    To publish a stream from a RTMP server to a web page, you have 2 options:

    1. embed RTMP stream in a Flash player (Strobe, JwPlayer, FlowPlayer)
    2. deliver stream in a HTML5 format (HLS or MPEG DASH) using a streaming server that supports that like Wowza Streaming Engine; this may also require transcoding if your stream is not already encoded with H264 and AAC

提交回复
热议问题