From eb89cd01ba10ce1dd7f31028f59eab65e37ec2e8 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 9 Feb 2021 14:32:13 +0530 Subject: [PATCH] webrtc: Document OFFER_REQUEST in the protocol doc Part-of: --- webrtc/signalling/Protocol.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc/signalling/Protocol.md b/webrtc/signalling/Protocol.md index 4a86868..26f80d0 100644 --- a/webrtc/signalling/Protocol.md +++ b/webrtc/signalling/Protocol.md @@ -35,7 +35,8 @@ This protocol builds upon https://github.com/shanet/WebRTC-Example/ * To connect to a single peer, send `SESSION ` where `` identifies the peer to connect to, and receive `SESSION_OK` * All further messages will be forwarded to the peer -* The call negotiation with the peer can be started by sending JSON encoded SDP and ICE +* The call negotiation with the peer can be started by sending JSON encoded SDP (the offer) and ICE +* You can also ask the peer to send the SDP offer and begin sending ICE candidates. After `SESSION_OK` if you send `OFFER_REQUEST`, the peer will take over. (NEW in 1.19, not all clients support this) * Closure of the server connection means the call has ended; either because the other peer ended it or went away * To end the call, disconnect from the server. You may reconnect again whenever you wish. -- 2.7.4