Before peers can communicate they need to first get connected. A simple WebSocket based server app is doing that for Briefing by advertising other peers being in the same "room". They can the exchange the SDP to actually open the WebRTC session between two peers.
- Is webRTC safe against man in the middle attacks?
- webrtcH4cKS: ~ WebRTC and Man in the Middle Attacks