WebRTC video performance compared to Zoom

Share with

Research is clear that video calls make for a more efficient workforce, particularly for those that work remotely. According to Gartner, by 2024, only 25% of meetings will take place in person, down from 60% today1

However, using video calls today can be frustrating, with black frames, choppy audio and frequent network disconnects. More often than not, we end up spending precious time trying to switch from video to audio, switch from mobile to WiFi, or moving closer to the router. Using WebRTC video calls, you can easily find ways to build lasting connections with colleagues and customers using efficient video calls!

To find out which meeting solution works best under poor network conditions, we performed benchmark tests, pitting the leaders of WebRTC API browser-based video calls in Gartner’s 2020 Magic Quadrant leader for Meeting Solutions against the Zoom desktop app.

Also read: The Most Comprehensive Guide on WebRTC

Three Factors Critical To Video Quality : WebRTC Vs Zoom

1. Packet loss

To understand the factors affecting the quality of a video call, we need to know that speed test is not the same as packet loss. In layman’s terms, packet loss represents gaps in data transmitted over the internet.

WebRTC video stream uses the User Datagram Protocol network stream. When packets go missing on the Internet, the most important video frame, the I-frame cannot be reconstructed by the receiver. Missing video frames result in frozen or jerky video call experience.

Unlike streaming a video from Netflix, video meetings are broadcast in real-time. When watching Netflix, missing packets are retransmitted until one receives a full buffer of error free video frames before streaming starts. This latency will make real-time video meetings impossible. In sum, video solutions will face the issue of packet loss and the ability to resume back to full video resolution quickly is critical

2. Bandwidth

The second factor is the bandwidth. Upload bandwidth is required to publish your video stream and download bandwidth is needed to subscribe to another participant’s video stream. The more participants you have in a video conference, the greater the download bandwidth you need.

When upload bandwidth is insufficient, most video conferencing apps will mute the publishing video of the affected participants, leaving only audio capabilities, until upload bandwidth is fully restored.

3. CPU availability

WebRTC requires your computer’s CPU to transcode video. The higher the video’s resolution, the greater the CPU power required. The more participants you have in a video call, the more CPU power is needed to decode the videos for all participants.

Benchmark Network Congestion Test : WebRTC Vs Zoom

We conducted the basic 1-1 video call with leading WebRTC video chat API providers and then also with Zoom desktop App

WebRTC Vs Zoom
WebRTC Vs Zoom

The publishing bandwidth for one of the WebRTC participants is throttled at different bitrates ranging from 100kbps, 200kbps, 250kbps and 300kbps.

We then measured the time (T1) taken for the video to resume streaming normally, at more than 1 frame per second (>1fps). The bitrate and resolution may still be ramping up after this time until full adaptation. We also measured the time (T2) taken for full adaption or full resolution after bandwidth congestion is removed.

To measure the duration for which the video is muted or frozen, we used a camera video source with a real-time stop-watch counter accurate to one second. This methodology will clearly identify precisely when video stream froze (0 fps) and when it resumed to partial adaptation (greater than 1fps).

To measure when the video recovered to (full adaption) full resolution and full framerate we used chrome://WebRTC-internals for the browser base 1-1 video call and the Zoom app video statistics.

WebRTC Vs Zoom 2
WebRTC Vs Zoom 2

The raw results are tabularised for two different WebRTC CPaaS providers and the Zoom app below.

During the period when network bandwidth is throttled, a 0fps means that video freezing was evident during the test duration. A range 10fps-25fps means the framerate is inconsistent.

WebRTC A Throttled Partial Adaption(T1) seconds Full Adaption (T2) seconds
100kbps 0fps 41 41
200kbps 1fps-25fps <5 36
250kbps 10fps-25fps 0 29
300kbps 25fps 0 25
*measurements are average based on 3 attempts
WebRTC B Throttled Partial Adaption(T1) seconds Full Adaption (T2) seconds
100kbps 0fps 46 70
200kbps 0fps-2fps 15 60
250kbps 2fps-5fps <5 48
300kbps 2fps-10fps <5 35
*measurements are average based on 3 attempts
Zoom App Throttled Partial Adaption(T1) seconds Full Adaption (T2) seconds
100kbps 0fps <10 80
200kbps 0fps <5 35
250kbps 0fps <5 50
300kbps 0fps-3fps <5 46
*measurements are average based on 3 attempts

Observations : WebRTC Vs Zoom

  1. The Zoom App froze the publishing video completely when the network bandwidth dropped below 300kbps while WebRTC A continued to publish at partial video adaptation at 200kbps and 250kbps bandwidths.
  2. Both Zoom app and WebRTC froze the video when throttled below 100kbps. However, the initial recovery time by Zoom is shorter, taking less than 10 seconds compared, to WebRTC needing over 40 seconds. The recovery to full adaptation for Zoom is longer (needing 80 seconds), compared to the 41 seconds that WebRTC A needed.
  3. WebRTC delivers acceptable smooth video quality at 300kbps bandwidth and even below that, whereas the Zoom app struggles to deliver a video frame every few seconds at 300kbps and the video froze occasionally during the throttled period.
  4. The Zoom app excelled at providing acceptable video quality (>1fps) almost immediately after the bandwidth is unthrottled.
  5. All the tests conducted show a high-quality freeze frame when partial video adaption is not available. We did not observe any black frames.

In summary the WebRTC video experience above 100kbps is considerably better than the Zoom App. Zoom shows a better video recovery time for low bandwidth condition (<100kbps).

Beyond video quality, the strength of WebRTC is the lightweight SDK toolkits provided by numerous CPaaS providers to easily integrate existing application for video and voice calls.


Disclaimer : WebRTC Vs Zoom

This is not meant to be an exhaustive comparison of either Zoom’s media stack nor WebRTC. It is a simple test to evaluate their performance under poor network conditions. Poor network conditions for WebRTC may be due to UDP packet loss and low CPU availability.

We did not perform an empirical evaluation of the audio quality but audio was present for all providers during the period when the bandwidth congested.

To limit the upload bandwidth for 30 seconds, we used traffic control (tc) utility that is available from the operating system.

The tests are all conducted with the same two virtual machines running ubuntu 18.04 with chrome browsers version 78 and above for  Zoom & WebRTC app version 3.5.352596.0119.

We have not taken into consideration the location of the WebRTC media servers in the above tests. For completeness and comparison between WebRTC providers, we measured the RTT of the media server to the local test machines as approximately 70ms and 270ms for WebRTC provider A and B respectively. This may account for the slightly poorer performance of WebRTC B compared to WebRTC A.

Source : (1) 2019 Magic Quadrant for Meeting Solutions by Gartner.

To try it out, simply sign up here for free

Are you looking for feature-rich APIs to build exciting solutions?
Sign up for free to begin!
Signup Cpaas API