WebRTC组播(一对多) [英] WebRTC multicast (one-to-many)
问题描述
您好,我对WebRTC有疑问.
Hi I have questions about WebRTC.
我想与MCU服务器建立一对多(1:N)连接(因为来自源的流太大(CPU,带宽...)),但是我不知道该怎么做,为此有一些项目吗?我只找到EasyRTC,Licode等,但是我想那只是用于视频会议(多对多). 非常感谢
I would like create one-to-many (1:N) connection with MCU server (because stream from source is too big (CPU,bandwidth...)), but I don't know how can I do that, exists some project for this? I found only EasyRTC, Licode etc. but I guess that is just for videoconferencing (many-to-many). Thank you very much
推荐答案
尝试WebRTC 单向广播和一对多广播实验. 源代码也可用.
Try WebRTC one-way broadcasting and one-to-many broadcasting experiments. Source codes are available as well.
在对等场景中;每个单个Chrome实例(标签页/窗口)的对等连接的 最大限制 为 256 .
In peer-to-peer scenario; max limit for peer connections per single chrome instance (tab/window) is 256.
很明显,当对等连接数量增加时,将会巨大的带宽/CPU使用率.
Obviously, there will be huge bandwidth/CPU usage when number of peer connections increases.
一个简单的解决方案可以是对等服务器模型(对等-对-媒体服务器-对-所有其他对等).
A simple solution can be peer-to-server model (peer-to-media server-to-all other peers).
这篇关于WebRTC组播(一对多)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!