IPC視頻流怎么實時在WEB瀏覽器播放,視頻流格式是RTSP,
下面我整理了自己實作的方案以及網上看到的一些方案
一、FFmpeg + nginx 將轉 hls 通過 video.js 在支持h5瀏覽器播放(我實作的)
參見:Nginx+FFmpeg實作rtsp流轉hls流,在WEB通過H5 video實作視頻播放
不足:hls延遲較rtmp、http-flv大
直達:請關注,微信公眾號:如其所斯,回復:rtsp,獲取完整資料下載鏈接,

二、FFmpeg + nginx-rtmp-module + h5 video,rtsp轉rtmp播放
https://blog.csdn.net/gui66497/article/details/78590190
https://blog.csdn.net/LLittleF/article/details/81111713
注:通過video.js播放rtmp流,需要將代碼放到服務器,本地windows電腦無法播放
不足:需要瀏覽器開啟flash
三、FFmpeg + nginx-http-flv-module + flv.js,rtsp轉rtmp,直接播放flv格式
基于nginx-rtmp-module,通過配置將rtmp轉為flv,最后通過flv.js播放,
https://github.com/winshining/nginx-http-flv-module/blob/master/README.CN.md
https://segmentfault.com/a/1190000016043297
https://blog.csdn.net/qq_22633333/article/details/96288603#comments
這種方式是最理想的,我目前找到的方案,當然單指不想花錢買收費方案的,
四、WebRTC
https://github.com/lulop-k/kurento-rtsp2webrtc
https://www.jianshu.com/p/1ddfa72de165
五、streamedian
https://github.com/Streamedian/html5_rtsp_player
https://streamedian.com/
https://streamedian.com/#demo
https://blog.csdn.net/u011489205/article/details/79327275
六、h5stream
https://www.linkingvision.com/
https://github.com/liweilup/h5stream
https://blog.csdn.net/Dnison/article/details/81663137
七、liveqing
https://www.liveqing.com
找到我
微信公眾號:如其所斯

0人點贊 開發工具
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/539700.html
標籤:其他
上一篇:在微信上搭建ChatGpt機器人
