首页 > 其他 > 详细

关于直播的技术整理2

时间:2018-03-05 19:22:44      阅读:601      评论:0      收藏:0      [点我收藏+]

为了减小延时

webrtc+rtsp?

之前用的是srs+http-flv/rtmp+flv.js/jwplayer,延时大概2~3秒
为了进一步减小延时,客户端选择直接用webrtc,那么服务器呢?
因为现在网络摄像头大都是rtsp协议,那么有没有webrtc+rtsp做直播的呢?(同道中人:https://stackoverflow.com/questions/23461914/use-an-ip-camera-with-webrtc
google了好久,终于找到了一个叫Kurento的东西。

Kurento

http://www.kurento.org/
http://doc-kurento.readthedocs.io/en/stable/what_is_kurento.html

Kurento is a WebRTC media server and a set of client APIs simplifying the development of advanced video applications for web and smartphone platforms. Kurento features include group communications, transcoding, recording, mixing, broadcasting and routing of audiovisual flows.
技术分享图片

技术分享图片

一个demon

https://github.com/lulop-k/kurento-rtsp2webrtc
这个demon依赖Kurento

搭好环境后测试(网页直接播放网络摄像头视频),效果不理想,延时还是2秒左右。
但是这个的优化可能性比之前的要大,还要研究下。

关于直播的技术整理2

原文:https://www.cnblogs.com/lanqie/p/8510634.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!