This is an old revision of the document!
Signaling
working out an example with 2 clients trying to connect
- There has to be some sort of server outside of the ICE server that handles the signaling
- The clients need some way to identify themselves on the signaling server so there is typically a login process. This is not required though.
- The signaling server is typically accessed through websockets
- Part of the point is to agree on an ICE server?
- Signaling follows a protocol called SDP (Session Description Protocol). Looks something like:
Caller Signaling Server Target Peer "type": "offer", "offer": { "sdp": "v=0\r\n...", "type": "offer" }, "name": "userB" ----------> "type": "offer", "offer": { "sdp": "v=0\r\n...", "type": "offer" }, "name": "userA"