WebRTC at scale - xrchisense/xrevent-broadcaster-unity GitHub Wiki
WebRTC Architecture in your Browser
The WebRTC architecture within your browser has tree main parts: Audio Enging, Video Engine and Transport.
Source: WebRTC.org Architecture
WebRTC Transport Architecture on the Web
MORE DIAGRAM About the TURN STUN, ETC HERE <<
Coturn: Free open source implementation of TURN and STUN Server for VoIP media
WebRTC Scaling Architecture
Components of the Broadcast Infrastructure
Load Balancer: This node is the frontend for the viewers and publishers. It receives the request from the users and forwards the request to a node in the origin group (for broadcasters/publisher) or edge group (viewers/subscriber). It balances the incoming load into the nodes running in the backend.
Origin Group: Nodes in origin group distribute the streams to the nodes in the edge group. Viewers should not get connected to the nodes in the origin group to play the streams only to broadcast streams.
Edge Group: Nodes (Media Server) in the edge group get streams from nodes in the origin group to send them to the viewers. Nodes in this group should not ingest stream and these nodes do not perform any actions like transcoding or transmuxing.
MongoDB: ...