From: Nirbheek Chauhan Date: Tue, 9 Feb 2021 09:02:13 +0000 (+0530) Subject: webrtc: Document OFFER_REQUEST in the protocol doc X-Git-Tag: 1.19.3~487^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb89cd01ba10ce1dd7f31028f59eab65e37ec2e8;p=platform%2Fupstream%2Fgstreamer.git webrtc: Document OFFER_REQUEST in the protocol doc Part-of: --- 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.