Why architecture matters here
WebRTC fails on NAT + firewall + TURN capacity. Architecture matters because signaling + ICE + media + codec compose.
Advertisement
The architecture: every piece explained
The top strip is setup. Signaling. ICE candidates. STUN. TURN.
The middle row is security + media. DTLS. SRTP. SCTP DataChannel. Codec negotiate.
The lower rows are ops. Media server. Metrics. Ops — network + TURN sizing + observability.
Advertisement
End-to-end flow
End-to-end: A creates SDP offer, sends via signaling. B answers. ICE gathers candidates. STUN probes work — direct path. DTLS handshake. SRTP media flows both ways.