By Stan Reshetnyk, CTO, Trembit · Last updated 24 November 2026
How WhatsApp video calls work, according to WhatsApp’s encryption whitepaper (version 10, 30 October 2026) and Meta’s engineering posts from 2023 and 2024: a signaling service rings the other person’s devices, the caller’s app hands each device its own encryption key inside an end-to-end encrypted message, and audio and video travel as encrypted SRTP packets. Those packets pass through a Meta-operated relay that cannot read them, or may go directly between the phones, as Meta’s Help Center implies for one-to-one calls. In plain terms: Meta’s servers route the call but, by Meta’s account, cannot listen to it. This is an independent analysis for teams building their own calling product, not affiliated with or endorsed by WhatsApp or Meta; we have not worked on WhatsApp or for Meta.
How we sourced this: each claim is labelled documented (Meta or WhatsApp says so), observed (an outside party measured it) or not public, with its source and date in the sentence. All sources were read on 24 November 2026.
Key takeaways
- Call keys travel inside end-to-end encrypted incoming-call messages, one per recipient device. Group calls re-key whenever someone joins or leaves.
- Meta’s relay is blind to the media by design. That bounds what it can do: it repairs loss, estimates bandwidth and forwards simulcast layers, while devices supply what it cannot see, such as volume levels.
- Meta’s own documents do not settle whether a one-to-one call goes direct or through a relay, and none gives a split.
- No source we read says the consumer app is built on WebRTC. Meta’s Business Calling API, a different surface, is documented as WebRTC, and the whitepaper says calls involving it are not considered end-to-end encrypted.
- Under overload, Meta throttles new calls to protect ongoing ones, and puts one-to-one calls ahead of group calls.
Deciding rather than building? Three choices here are expensive to reverse: whether servers may see your media (recording, AI, moderation), whether calls may go direct (what users learn about each other), and who fails first under load.
Short on time? “What should you copy from WhatsApp’s choices, and what should you not?” has the decision table; “What has Trembit built, and where does the comparison stop?” maps it to a build.
What has Meta actually published about WhatsApp calling, and what has it not?
Meta has published how call keys work, what its relay does, and how it protects calls under load. The sources:
| Source | Date | What it covers | Label |
|---|---|---|---|
| WhatsApp Encryption Overview (whitepaper) | Version 10, 30 Oct 2026 | Call keys, group re-keying, Cloud API exception | Documented |
| Meta @Scale, “Calling Relay Infrastructure at WhatsApp scale” | 26 Feb 2024 | Signaling, relay jobs, WASP, overload rules | Documented |
| Meta @Scale, “Improving International Calls” | 20 Mar 2024 | Cross-relay routing | Documented |
| Meta Engineering, “Enhancing the security of WhatsApp calls” | 8 Nov 2023 | IP protection, peer-to-peer vs relay | Documented |
| WhatsApp Help Center, call relaying | Undated, read 24 Nov 2026 | When calls are relayed | Documented |
| Meta Engineering, “MLow” | 13 Jun 2024 | Audio codec | Documented |
| Meta for Developers, Cloud API Calling | Read 24 Nov 2026 | Business Calling API protocols | Documented (business surface only) |
| Philipp Hancke, webrtcHacks | 22 Apr 2015 | Packet capture of an Android build | Observed |
| Berger et al., arXiv 2504.14720 | 20 Apr 2025 | Passive traffic study, 107 video sessions | Observed |
| Chen, Umrikar, Xie, Liu, IETF 126 ANRW slides | Measured Aug 2025 to Mar 2026 | Relay locations and selection | Observed |
Not public: whether the consumer app is built on WebRTC; its video codec; how group media is routed beyond “relayed”; what share of calls connect directly; MLow’s rollout since June 2024. The whitepaper covers keys, not transport: version 10 never mentions WebRTC, DTLS, STUN, TURN, relays or signaling.
Where sources conflict, we say so. WhatsApp and Meta names are used descriptively.
How is a WhatsApp call set up, and where do the encryption keys come from?
A WhatsApp call starts on the signaling service, and the media keys travel to each device inside an end-to-end encrypted message. Meta’s @Scale relay post (26 February 2024) splits the system in two: “The signaling server facilitates the initial process of setting up the call”, ringing the callee’s devices and connecting the call on answer; then the calling relay carries the media.
The keys are documented in the whitepaper (version 10, 30 October 2026): “Personal WhatsApp voice and video calls, and those with the WhatsApp Business App, are end-to-end encrypted.” The steps:
- The caller’s app sets up encrypted sessions with each of the recipient’s devices, if none exist yet.
- “The initiator generates a set of random 32-byte SRTP master secrets for each of the recipient’s devices.”
- It sends an incoming-call message to each device, carrying that device’s end-to-end encrypted secret.
- The answering device starts an SRTP call with its secret, held in memory for that call only. “WhatsApp servers do not have access to the SRTP master secrets.”
That is key delivery inside end-to-end encrypted messages, not a key negotiation on the media path, and the whitepaper does not mention DTLS. It also does not say which server carries the incoming-call message; that it travels with the signaling is our reading of the two documents together, not something Meta states. The only outside evidence is Hancke’s April 2015 capture of an Android build, which found “no signs of DTLS, which suggests the use of SDES”: a 2015 build, not today’s app.
What this means for your build. In standard WebRTC, DTLS-SRTP derives keys in a handshake between endpoints, so the keys themselves never cross your signaling server, but the DTLS fingerprints do, and a signaling server that swaps them can sit in the middle unless the endpoints verify them some other way. With an SFU in the path the handshake ends at the server, which is why end-to-end encryption over an SFU needs a second layer. WhatsApp’s model needs an end-to-end encrypted channel between devices first; without one, your server reads every call key. Either way your signaling server in production is part of your encryption design. Per-device keys also make multi-device ringing a signaling problem.

Are WhatsApp calls peer-to-peer or relayed?
It depends on the call and on which Meta document you read; no source gives a split. Group calls are documented as always relayed by default. For one-to-one calls, Meta’s current Help Center implies a direct connection is possible, while Meta’s most detailed relay post describes the relay as part of the call throughout and never mentions a direct path.
| Date | Source | What it says | Label |
|---|---|---|---|
| Apr 2015 | Hancke, webrtcHacks (Android capture) | The client sent “TURN ALLOCATE requests to eight different servers”, started relayed, then switched to peer-to-peer | Observed, one 2015 build |
| 8 Nov 2023 | Meta Engineering | “Most calling products people use today have peer-to-peer connections between participants”; direct calls make IP addresses “visible to both callers on a 1:1 call”; with the new setting, “all your calls will be relayed through WhatsApp’s servers” | Documented |
| 26 Feb 2024 | Meta @Scale relay post | The relay “is involved throughout the duration of the call” and “shuttles audio and video packets back and forth between user devices”; no mention of peer-to-peer or direct paths | Documented |
| 20 Mar 2024 | Meta @Scale international calls | “Using cross-relay architecture for 1:1 WhatsApp calls, we’ve seen significant wins in latency as well as reductions in packet loss” | Documented |
| Aug 2025 to Mar 2026 | IETF 126 ANRW slides | “WhatsApp allocates 3 relay candidate IPs (3 STUN bindings) at the start of the call”; “One relay is picked based on the end to end latency” | Observed, iPhone 11 via 13 Azure VMs; call type and IP-protection setting not stated in the deck |
| Read 24 Nov 2026 | WhatsApp Help Center | “Group calls are always relayed through WhatsApp’s servers by default.”; “If you turn on Protect IP address in calls, your calls won’t be connected directly and will avoid revealing your IP address to the person you’re calling.” | Documented, current |
Three things are settled. Group calls are relayed by default. Users can force every call through the relay, a trade Meta’s 2023 post spells out: the direct path “allows for faster data transfers and better call quality”, and the Help Center warns, “When using call relaying, you might find the call quality is reduced.” And relaying does not open the media: “even if a call is relayed through WhatsApp servers, WhatsApp cannot listen to your calls” (Meta, 8 November 2023).

Not settled: how often a default one-to-one call ends up direct. Either calls move direct when the network allows, as Hancke observed in 2015 and the Help Center implies, or the 2024 posts describe the main path and direct calls are the exception. No Meta source reconciles the two, and circulating peer-to-peer percentages have no source we could find.
What this means for your build. If privacy is part of what you sell, topology is a privacy decision before it is a cost decision, and an expensive one to reverse: changing it later means re-platforming the media path. A direct path is faster but shows each side the other’s IP address; a relay that sees only ciphertext hides addresses and keeps end-to-end encryption, at the price of an extra hop. Our comparison of SFU, MCU or peer-to-peer covers the generic choice. WhatsApp’s addition is the relay as a privacy option users switch on, not only a fallback.
What can a relay that cannot read the media still do?
Quite a lot, by Meta’s account, because the clients supply what the relay cannot see. The constraint, from Meta’s @Scale relay post (26 February 2024): “WhatsApp made an early decision to mandate end-to-end encryption for all communication, including voice and video calls.” As a result, “the relay server has no access to contents of the media flowing through it, so the relay cannot upscale/downscale, transcode, or make any other modifications to the media.”
Within that limit, the same post documents five jobs:
- Loss repair. “The relay server caches a few seconds of media packets” and retransmits them on a device’s NACK, which Meta says is “much more efficient than end-to-end retransmissions, because the relay sits halfway between participants in a call”.
- Bandwidth estimation. “The relay server assists in accurately estimating the bandwidth for each leg of a call”, feeding packet delay and loss back so devices adjust their bitrate.
- Dominant speaker. With no access to the audio, the relay “requests volume information from user devices in a call” and picks the speaker from volume alone.
- Video simulcast. When networks differ, devices on good networks send a high- and a low-bitrate stream, and “The relay service then selectively forwards the high-bitrate stream to the users on the good network and the low-bitrate stream to the users on the poor network.”
- Video subscriptions. Each participant tells the server which videos it wants; with bandwidth estimates, that decides who sends video and at what bitrate.
Meta calls this a relay; by its own description it forwards streams selectively, which is what an SFU does. “SFU” is our shorthand, not Meta’s word.
Placement is the other lever. Meta’s international-calls post (20 March 2024) describes cross-relay routing: rather than one relay equidistant from both users, “we pick the ones closest to each user”. Its percentage gains are not attributed to WhatsApp.
What this means for your build. End-to-end encryption removes every feature that needs media on a server: recording, transcoding, mixing, moderation, and server-generated captions such as per-speaker live captions. Decide which side of that line you are on before designing features: moving later means rebuilding the media path. WhatsApp shows how much quality work survives when clients cooperate.
If you are deciding between a media-blind relay and a server that can see media, that decision is the first thing we pressure-test in a WebRTC development scoping call.
How do WhatsApp group calls handle encryption?

WhatsApp group calls are end-to-end encrypted with a key that changes whenever the membership does. The whitepaper (version 10, 30 October 2026): “Unlike one-to-one calls that setup keys only once, in group calls, keys are reset whenever a participant joins the call or leaves the call.” The documented sequence:
- On each join or leave, “the WhatsApp server arbitrarily selects one of the active participants as the key distributor.”
- That participant’s app generates a new random 32-byte SRTP master secret, or a set of secrets for different types of data.
- It sends one end-to-end encrypted message with the secret to each participant’s single active device.
- While everyone switches, “the old SRTP crypto session is kept alive for up to 5 seconds after group update.”
The server coordinates but, per the whitepaper, cannot decrypt the media. It does know who is on the call: “the WhatsApp server stores the state of the current group call (for example: participant list, call initiator) and media metadata (e.g. resolution, media type).” That is the limit of the end-to-end claim: it covers audio and video, not the record of who called whom, and no call encryption protects a compromised phone.
On size: Meta’s newsroom said in December 2022 that you could start a call “on your mobile device with up to 32 people”. On 28 July 2026 Meta added WhatsApp Web calling (“Your calls on the web are end-to-end encrypted”) and a group-call waiting room, stating no web participant limit. Beyond the Help Center’s “always relayed” line, Meta has not published how group media is routed; the cross-relay post says Instagram and Messenger use it “for all group calls” and does not say WhatsApp does.
What this means for your build. Each re-key sends one message per participant, so key traffic grows with churn times call size: a large call with steady membership rarely re-keys, while a large call with people dropping in and out pays on every change. The 5-second overlap is also a deadline: a device that has not received the new secret by then loses media until it does. Group size has its own scaling cliff, separate from encryption.
Which codec does WhatsApp use, and what is MLow?
For audio, Meta has named its codecs; for video, no source we read names one. Meta’s MLow post (13 June 2024) says “Meta has used Opus for all its RTC needs, and so far it has served us well”, and introduces MLow, Meta’s own codec for low bitrates and low-end devices, which keeps calls end-to-end encrypted. Status that day: “We have already fully launched MLow to all Instagram and Messenger calls and are actively rolling it out on WhatsApp”. Meta has not published the rollout status since.
The post’s numbers explain why. Raw call audio is 768 kbps, which modern codecs compress to 25-30 kbps. Opus bottoms out at 6 kbps in NarrowBand mode and “needs a minimum of 19 kbps to encode any inband FEC at 10 percent packet loss”. Then the fleet: “10’s of millions of daily calls on WhatsApp are on 10-year-old-plus devices.”
Outside evidence is thin. Hancke’s 2015 Android capture found 16 kHz audio at about 20 kbit/s, later updated: “this is now known to be Opus/SILK”. The 2025 arXiv study of 107 WhatsApp video sessions names no codec and notes that “WhatsApp neither provides quality metrics nor publicly disclose its communication protocol.”
What this means for your build. Codec choice is a device-fleet and packet-loss decision before it is a quality benchmark: on old chips and lossy networks, the bitrate floor and the cost of error correction matter more than peak quality. Video codecs have their own adoption limits; see why AV1 still isn’t dominant.
Does WhatsApp use WebRTC?
No source we read says the consumer WhatsApp app is built on WebRTC, and none says it is not. The evidence, dated:
- 2015, observed. Hancke found that “WhatsApp is using the PJSIP library to implement Voice over IP (VoIP) functionality”, with STUN but no ICE attributes and no DTLS. In a 2017 reply he wrote that “it would not have classified as WebRTC back in 2015”.
- 2024, documented. Meta’s @Scale relay post says the standard device-to-relay protocol is TURN, then describes WhatsApp’s own WASP (WhatsApp STUN protocol): “The core of WASP is similar to TURN, but WASP uses just one port for all network communication”. The post never uses the word WebRTC.
- 2026, documented. Meta’s 9 April 2026 post on leaving its WebRTC fork says “We successfully moved over 50 use cases from a divergent WebRTC fork” and names Messenger and Instagram video chats. It does not name WhatsApp calls, so it does not answer the question.
The one Meta document that puts WhatsApp and WebRTC together describes a different product: the WhatsApp Business Calling API, part of the Cloud API. Its developer docs (read 24 November 2026) list a default of Graph APIs and webhooks for signaling over HTTPS, with WebRTC media (ICE, DTLS and SRTP) and Opus audio; the notes add “You can use SDES instead of ICE+DTLS with Graph API + Webhook signaling” and “Additional audio codecs supported: PCMA, PCMU”. SIP signaling is a separate option that needs explicit enablement, offered with “WebRTC (ICE + DTLS + SRTP)” or SDES media. The whitepaper states the cost: “Calls involving Cloud API (including when Cloud API is linked as a companion) are not considered end-to-end encrypted.” The other end of every such call is a WhatsApp user on the consumer app, and the docs do not say where, or whether, Meta’s infrastructure bridges the two or relays the media. What is documented is two surfaces: an undisclosed consumer stack and a WebRTC business interface.
What this means for your build. One reading of WhatsApp’s documents: a product can keep its own client stack and still open a standards-based WebRTC door for third parties, without the encryption guarantee extending through it. WhatsApp documents where its guarantee stops; it does not document the bridge. If you need a private consumer path and a business integration path, design them as separate trust zones and write down where your guarantee stops; that boundary is where our WebRTC development work starts.
How does WhatsApp keep calls up during traffic spikes?
By planning for the steepest minutes of the year and deciding in advance which calls lose. Meta’s @Scale relay post (26 February 2024) says the relay runs on “thousands of points-of-presence” originally built for Meta’s CDN, each cluster “has hundreds of relay containers running”, and WhatsApp handles “well over a billion calls a day”. On New Year’s Eve each country’s spike “starts exactly at midnight, is extremely steep, and lasts about 20 minutes”, and “there is almost nothing that can be done manually in response to an observed failure.”
So the order of failure is built in: “Our systems throttle the setup of new calls to allow the infrastructure to maintain the quality of ongoing calls,” and “one-to-one calls are more important than group calls.” Call state lives in a state server “so it can be retrieved by other containers”, because, Meta says, without it a call is “nearly impossible to recover from a container switch or container restart.”
What this means for your build. Write your admission-control rule before launch (ongoing before new, one-to-one before group, or your own order) and decide where call state lives when a media node restarts: cheap on a whiteboard, expensive during an incident. If you have inherited a platform whose first big spike broke it, the failure order is one of the first things to establish in WebRTC rescue, alongside our protocol-level rescue diagnosis.
What should you copy from WhatsApp’s choices, and what should you not?
Copy the decisions, not the scale. “Implied” marks a cost that follows from the documents but that Meta does not state.
| WhatsApp choice (documented) | Cost it accepts | Fits you if | Does not fit if |
|---|---|---|---|
| Relay that cannot read media | No transcoding or other media changes (documented); no server recording, mixing or moderation (implied) | Privacy is the product | You need recordings, archives or server-side AI on the media |
| Keys in end-to-end encrypted signaling, one per device | Needs end-to-end encrypted messaging between devices first (implied) | You already run it | Your server can read its messages; use DTLS-SRTP and verify fingerprints out of band if the server is not trusted |
| Re-key on every join and leave, 5-second overlap | Key traffic grows with churn times call size; late receivers lose media after 5 seconds (implied) | Stable membership | Constant joins and leaves |
| Custom single-port relay protocol (WASP), not standard TURN | You own a protocol and every client; Meta says it “relies much more on the user device” and “works well for relay server failover” | You ship every client | Browsers or third-party clients must connect |
| Relay-assisted bandwidth estimation per leg | Relays measure and report, not just forward (documented) | You run your own relays or SFUs | Your hosted relay only forwards |
| Simulcast, not server-side downscaling | Good-network senders upload two streams (documented) | Mixed networks under end-to-end encryption | Your server may transcode and uplinks are weak |
| Ongoing before new, one-to-one before group under overload | Some setups fail at peak (documented) | Predictable spikes | Contracts guarantee setup for some users: pick another order, but pick one |
What does not transfer: thousands of points-of-presence, a call volume that justifies a custom protocol, and certainty about the direct-versus-relay split, which nobody outside Meta can see.
Want this table filled in for your product? That is what the free 30-minute call at the end is for.
What has Trembit built, and where does the comparison stop?
Trembit has not worked on WhatsApp or for Meta; this teardown rests only on what those sources say. What we have built sits at different points on the same privacy-versus-relay line.
- webPRAX Face2Face, a KBV-certified psychotherapy video platform in Germany. Our case study records peer-to-peer WebRTC with “STUN/TURN servers installed on the platform’s own premises — eliminating third-party media relay”, Germany-only hosting, and end-to-end encrypted streams “so that even the platform operator cannot access session content”. Same goal as WhatsApp’s, an operator that cannot read the media; different route: standard WebRTC and a relay the operator owns, because compliance ruled out third-party media routing.
- A government video-conferencing platform (client not named). Janus handles peer-to-peer calls and SFU multi-party meetings, Jibri records sessions server-side, and the case study records “no media traversing external infrastructure”. Server-side recording was required, so a recorder had to receive the media: the server is inside the trust boundary, and the answer was to keep every server on government-controlled infrastructure. The opposite choice from WhatsApp’s, for the opposite reason.
Neither case study publishes usage or uptime figures, and none of this runs at Meta’s scale. If you are weighing these trade-offs, our video chat app development work covers the client, relay and encryption decisions together.
Frequently asked questions
Does WhatsApp use WebRTC? Meta has not said for the consumer app. The Business Calling API is documented as WebRTC, but it is a separate surface.
Are WhatsApp calls peer-to-peer? Group calls are relayed by default. The Help Center implies one-to-one calls can connect directly unless “Protect IP address in calls” is on. No source gives the share.
Can WhatsApp or Meta listen to my calls? Per the whitepaper, WhatsApp’s servers do not have the call keys, and Meta says relayed calls stay end-to-end encrypted. That covers audio and video, not metadata such as a group call’s participant list, and not calls involving the Cloud API.
How many people can join a WhatsApp group call? Up to 32 on mobile, per Meta’s December 2022 announcement.
Are WhatsApp Business calls end-to-end encrypted? Calls with the WhatsApp Business App are, per the whitepaper. Calls involving the Cloud API, including the Business Calling API, are “not considered end-to-end encrypted”.
What should you decide first for your own calling product?
Three decisions from this teardown shape most calling architectures: whether a server may see your media, when a call may go direct, and what fails first under load. Book a free 30-minute call with a Trembit WebRTC engineer. Bring the specific decision (relay vs direct, what your end-to-end encryption rules out, the spike you are afraid of) and you’ll leave with the option we’d pick, what it costs you, and what would change our mind. No deck, no pitch.