视频服务器(1) webrtc-streamer
我的目的是找到一个代替H5Stream的开源rtsp to webrtc 的方案。
其实rtsp to websocket也是可以的,虽然我unity买的插件是webrtc+video的,但从原理上讲websocket+video也是可以的,本质上都是video播放,发送图片给unity显示。主要是上周客户端方面已经实现了在unity的webgl里面显示webrtc的效果。
现在来研究一下服务端方面。
找了一些资料
参考:5 best open source ip camera projects.
参考:WebRTC VideoEngine综合应用示例(一)——视频通话的基本流程(转)
参考:https://forum.flashphoner.com/threads/how-to-convert-rtsp-to-webrtc.10731/
参考:浏览器播放rtsp视频流解决方案(streamedian服务器)
参考:https://github.com/Streamedian/html5_rtsp_player
------------------------------------------------------------------------------------------------------------------------
公司的摄像头的rtsp地址
rtsp://admin:[email protected]/h264/ch1/main/av_stream,或者
rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
------------------------------------------------------------------------------------------------------------------------
知道了有个live555是rtsp服务器的,而搜索live555和webrtc的得到的http://webrtc.live555.com/,显示该项目当前offline。
这个就是我要的......
另外,ffmpeg好像能够rtsp转rtmp。
------------------------------------------------------------------------------------------------------------------------
找到了一个rtsp2webrtc的程序,http://www.pudn.com/Download/item/id/3945772.html,不知道为什么,没有效果。
看日志,webrtc应该是连接上了的,其实我要的就是这个的效果,把rtsp地址给后端,然后就能播放视频里。
h5stream里面,现在我是先配置起来,然后使用的。
-------------------------------------------------------------------------------------------------------------------------------
有人给我推荐了,https://shinobi.video/,
--------------------------------------------------------------------------------------------------------------------------------
找到个webrtc-streamer,https://github.com/mpromonet/webrtc-streamer
打算研究一下,基本上核心就是上面的三个开源的东西吧,我是不打算自己组装的。
-----------------------------------------------------------------------------------------------------------------------------------
在www.findbestopensource.com上面还搜索到了
Ant Media Server
和