network

WebRTC

Definition

WebRTC is a browser-standard set of APIs for real-time audio, video and data between peers over UDP, without plug-ins.

WebRTC, Web Real-Time Communications, is a W3C and IETF standard first shipped in 2011. It gives browsers three capabilities. First, capturing audio and video from the device. Second, encoding them with Opus or VP8/H.264. Third, transmitting them to a peer over SRTP, usually tunnelled through UDP via DTLS and STUN/TURN for NAT traversal. ChromePing's entire browser-side stack runs on WebRTC: the microphone capture, the Opus encoding, the connection to LiveKit, and the receipt of the translated audio. Nothing is installed on the user's device, the browser's native WebRTC implementation handles the whole real-time path.