WebRTC (Web Real-Time Communication) is a set of W3C browser APIs and IETF protocols that let a web page send and receive live audio, video and data without a plugin. In contact centers it powers browser softphones, so agents can take calls in a tab. Media is always encrypted, and signaling is left to the application.
How is WebRTC defined?
Two bodies share the work. The W3C WebRTC specification, a W3C Recommendation dated 13 March 2025, defines the JavaScript APIs that pages use. The IETF defines the network protocols. RFC 8825 is the overview that lists which specifications an implementation must follow.
RFC 8825 also notes that WebRTC does not specify signaling. Session setup typically runs over TLS-secured web connections using an application's own protocol. A contact-center platform often translates that to SIP toward carriers.
What WebRTC requires
The security architecture in RFC 8827 sets several rules that matter to agents and IT teams.
- All media must be encrypted with SRTP, keyed through DTLS-SRTP. Plain RTP is not allowed.
- Browsers must get explicit user consent before using the microphone or camera.
- Browsers must refuse microphone and camera permissions for plain HTTP origins.
- Browser clients must implement ICE, which finds a working network path, often with STUN and TURN servers.
Which codecs does WebRTC use?
RFC 7874 requires WebRTC endpoints to implement Opus and G.711 (PCMA and PCMU). A carrier leg that uses only G.729 would need transcoding somewhere in the path. Ask your vendor where that happens.
How to roll it out for agents
Most WebRTC problems in contact centers come from the agent's device or network, not the protocol.
- Allow the platform's media and TURN ports through the firewall and VPN.
- Test headsets in the supported browsers, including mute and device switching.
- Pin the microphone permission for the platform's HTTPS site.
- Measure jitter, latency and packet loss from home networks, not only the office.
Questions about WebRTC
Do agents need to install software to use WebRTC?
Usually not. A supported browser includes WebRTC, so the agent opens the platform's HTTPS page and allows microphone access. Some teams still use a desktop app built on the same technology for device control or single sign-on.
Is WebRTC audio encrypted?
Yes. RFC 8827 requires all WebRTC media to be secured with SRTP and forbids sending media as plain RTP. Encryption covers the path between WebRTC endpoints. After a platform hands the call to a carrier, protection depends on that carrier connection.
Why does a WebRTC call fail behind a corporate firewall?
WebRTC uses ICE to find a working path. Strict firewalls or VPNs can block the UDP ports it prefers and any TURN relay. Ask your vendor for the required hosts and ports, then test from the same network your agents use.
Sources
- W3C WebRTC: Real-Time Communication in Browsers (Recommendation)
- IETF RFC 8825: Overview: Real-Time Protocols for Browser-Based Applications
- IETF RFC 8827: WebRTC Security Architecture