How to play rtmp live stream using videojs?

后端 未结 4 1755
谎友^
谎友^ 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:44

    Browsers don't support RTMP. The only way to connect to RTMP streams in-browser is to use Flash.

    Consider using a more compatible distribution protocol, such as DASH, which is supported with Media Source Extensions.

提交回复
热议问题