Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use WebRTC without an answer?

In the absence of a signalling server for coordinating the initial exchange, does WebRTC provide any way to allow the responder to send information freely to the caller, if the responder has only received an offer and has no other methods of communication with the caller?

(There's no signalling server because the web app must be useable offline. Any method to establish a connection with only one exchange of information would also be useful.)

Sorry, it's a long and weird question.

like image 788
Shien Avatar asked Dec 28 '25 18:12

Shien


1 Answers

I guess by offline you mean that you have two parties that will connect through a network not connected to the internet.

Signaling is just a way to transmit information between the two parties. For the sake of example it can even be manual copy and paste. Even one of the parties can play the role of a server if the other one has a way of connecting to it (doable within the same network).

Without some kind of signaling mechanism, a WebRTC connection is not possible. And signaling is not part of the WebRTC specification, nor of any implementation.

like image 187
Adrian Ber Avatar answered Dec 30 '25 09:12

Adrian Ber