Finally we had to invent workarounds for Cordova: https://mobile.twitter.com/qbixapps/status/11564841564250398...
Did anyone set up a WebRTC that was super easy and worked rock solid with just a few lines?
Finally we had to invent workarounds for Cordova: https://mobile.twitter.com/qbixapps/status/11564841564250398...
Did anyone set up a WebRTC that was super easy and worked rock solid with just a few lines?
We open sourced our implementation.
I am still wondering if we missed some simple solution.
I mean do you use kubernetes and stuff - what load balancer do you use (I assume sessions are "sticky"), etc
But the way you scale WebRTC is by using multiplexers between clients.
Let's say you have 2 clients. They can directly send data to each other.
Let's say you have 3 clients. Client 1 sends data to Clients 2, 3 Client 2 sends data to Clients 1, 3 Client 3 sends data to Clients 1, 2
As you add more clients the scaling requires n(n-1)/2 edges because it forms a Complete Graph.
The idea then is to use a server in the middle. That server could be 3rd party or maybe even one of the participants within the graph.