4 ms·
How does WebRTC compare when you have a lot of callers (e.g. 20 people in a call)? From my understanding, it is p2p, so the network throughput required would be
by Quanttek 7y ago
How does WebRTC compare when you have a lot of callers (e.g. 20 people in a call)? From my understanding, it is p2p, so the network throughput required would be a lot higher, correct?
- jwr 7y agoTBH, I have no idea, I have done calls with up to 8 people only. I would be interested to know myself. Whereby seems to support up to 12 video streams, with the rest being audio-only.
- DyslexicAtheist 7y agowe've been using jit.si in 2016 which worked well but it might be overloaded today idk. we hit some bottlenecks when trying to scale up and improved the situation by running our own jitsi instance on a DO droplet but that too would not scale to a large audience. I think that if you have more than 10 participants in the meeting then you have anyway other problems (the same issues when you have too many people in a f2f meeting). from a technical pov I still wonder if running jitsi (or another similar solution) on dedicated hardware which is better tailored to a GPU intensive operation. This could then be easily deployed in-house (with all the benefits: full control and eliminating a lot of attack vectors). Seems like a cool problem to solve while in corona quarantine.
- chupasaurus 7y agoIIRC Skype back when it was p2p used the first participant as a host with full resync if it went down.
- cloverich 7y agoYes p2p, so to support higher numbers of people you'd need either a server somewhere doing compositing or selective forwarding (etc). I think a smart front-end client could do selective forwarding but would be tricky to get right (e.g. to consistently detect and forward the speaker). EDIT: I meant to include, WebRTC itself does not prohibit such things, so the point was for small stuff it works w/ minimal setup, dumb client, and for bigger stuff it would still work, but would need more robust supporting code.
- sigwinch28 7y agoThe default installs of Jitsi Meet use Jitsi videobridge to avoid p2p for calls of >2 participants. For <=2 people, p2p WebRTC is used (though a STUN server might be needed to traverse NATs for each person [0]). For >2 people, the Jitsi Videobridge is used instead of p2p [1]: it takes in all media streams from all clients (possibly even in different resolutions) and selectively forwards them to clients based on bandwidth [2] [0]: https://en.wikipedia.org/wiki/STUN https://en.wikipedia.org/wiki/STUN [1]: https://jitsi.org/jitsi-videobridge/ https://jitsi.org/jitsi-videobridge/ [2]: https://github.com/jitsi/jitsi-videobridge/blob/master/doc/sfu.md https://github.com/jitsi/jitsi-videobridge/blob/master/doc/s...