Is it possible to maintain a WebRTC connection after disconnecting from the internet after the signaling phase?

If a WebRTC connection is established between two peers on a local network, can we maintain it by losing our internet connection? This seems possible because it is equal.

+3


source to share


2 answers


Yes it is possible. Peers connect directly using a private IP address on the same network. They don't need to go through the public IP address, which would require the Internet.



+5


source


Even after losing the Internet connection, the connection is maintained for a certain amount of time. I believe it might be some kind of socket timeout. A simple experiment at https://apprtc.appspot.com/ gave a timeout of about 15-20 seconds.



0


source







All Articles