summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2021-02-09 14:32:13 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2021-02-10 16:21:32 +0530
commiteb89cd01ba10ce1dd7f31028f59eab65e37ec2e8 (patch)
tree08b5169d4ef4ee75ac01c9bca8f970e659fb3975
parentea3c0e87660aa987881b4c7c3424fbf56e709c54 (diff)
webrtc: Document OFFER_REQUEST in the protocol doc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31>
-rw-r--r--webrtc/signalling/Protocol.md3
1 files changed, 2 insertions, 1 deletions
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 <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.