Bootstrap a WebRTC peer connection without signalling server #730
aarongustafson
started this conversation in
Wants
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WebRTC connections require a lot of infrastructure, such as a signalling server and STUN/TURN. This infrastructure has real costs, both physically, and in complexity to the application. Reducing the need for this infrastructure when possible would significantly expand the types of applications that could utilize peer connections with WebRTC.
The need for a signalling server could be removed in most cases if the initial connection could happen with a one-way data transfer. For example:
In other words, the peer connection process only changes in that the back-and-forth part of the communication happens after the peers establish some sort of initial connection.
This enables several scenarios:
Other benefits include security enhancements. Not having to maintain a signalling server that can potentially be hijacked is a plus.
There isn't a real workaround for this problem today. We're stuck using excess signalling servers. The cost to everyone is visible given how successful WebRTC hosting business models are.
Let's simplify this by allowing peers to directly connect!
Beta Was this translation helpful? Give feedback.
All reactions