Below I have sorted out the solutions I implemented and some solutions I saw on the Internet
1. FFmpeg + nginx will transfer hls to play through video.js in browsers that support h5 (I implemented it)
Insufficient: hls delay is larger than rtmp, http-flv
Note: Play rtmp stream via video.js. The code needs to be put on the server, the local windows computer cannot play
Disadvantage: Requires browser to open flash
Based on nginx-rtmp-module, rtmp is converted to flv through configuration, and finally played through flv.js.
This way is the most ideal solution I have found so far. Of course, it just means that you don’t want to spend money on a charging plan.
This article is reprinted from https://blog.p2hp.com/archives/8498
This site is for inclusion only, and the copyright belongs to the original author.