Our Products

Optimizing Group Video Calling in WebRTC

This eBook details and explains a lot of the optimizations required for the creation of successful group calling services with WebRTC.


WebRTC is a peer-to-peer real time communication technology that is embedded in modern web browsers. While the technology itself is thought to be 1:1, it does scale nicely to larger groups but requires more than a few lines of JavaScript code.

The diagram below shows the main challenge with video conferencing:

The larger the size of the group call you need to provide, the more complicated and challenging it is going to be to deliver it. The reason for that stems from the high compute and network resources that video processing requires.

This eBook provides you with the means to analyze your use case and understand which optimization techniques are the ones you will need to pursue and employ. Many of the recommendations made here require close interaction between the client and media server.

I’d like to make things clear: this eBook is suitable if you are using CPaaS Video APIs as well as if you are using open source frameworks for your application. In many ways, only you know your application and its requirements which means that only you can make the necessary adjustments and optimizations to get the performance gains you seek.

What you need is a solid understanding of the constraints and the approaches that an application design enforces on group video calls.

The eBook spans 30 pages.

Topics covered:

  1. 1
  • Open Source Media Frameworks
  • CPaaS and Video APIs
  1. 2
    SFU Model
  • Main optimization challenge
  • Simulcast
  • Temporal Scalability
  • ABR
  • Availability
  1. 3
    Video Layouts
  • Speaker View
  • Gallery View
  • Presentation View
  • Desktop vs Mobile Layouts
  1. 4
    Audio Management
  • Routing vs Mixing
  • Active Speaker Detection
  • Automatic Mute/Unmute
  • Muting on Join
  • Using DTX
  1. 5
    Optimization Tools
  • P2P4121
  • Streams Rotation
  • Tab Switching
  • Cascading Media Servers
  1. 6
  • Understanding Bandwidth Utilization
  • CPU Management
  • Application Profiling
  1. 7
    About the Author