webrtc: Document OFFER_REQUEST in the protocol doc
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 9 Feb 2021 09:02:13 +0000 (14:32 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 10 Feb 2021 10:51:32 +0000 (16:21 +0530)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31>

webrtc/signalling/Protocol.md

index 4a86868..26f80d0 100644 (file)
@@ -35,7 +35,8 @@ This protocol builds upon https://github.com/shanet/WebRTC-Example/
 
 * To connect to a single peer, send `SESSION <uid>` where `<uid>` 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.