SlideShare a Scribd company logo
1 of 7
Download to read offline
Scaling WebRTC for Large Rooms
Gustavo Garcia
@anarchyco
Large rooms motivation
Rooms are getting even larger because videoconferencing is getting more popular and ubiquitous
(remote work, education) and this trend has been accelerated because of pandemic
UI Arch. Audio Video
User Interface
● Auto mute when joining a big room
● Different layouts and pagination
● Speaking and dominant speaker detection
● Non verbal communication features (raise hands, emojis, chat, q&a, polls…)
● Spacial audio
Architecture
Typical architecture for videoconferencing assigns a single SFU to each room.
For large rooms you usually need to split it in multiple SFUs and connect them
(that also provide advantages in terms of latency and retransmissions)
Images from bloggeek.me
Video
● Scalable video (Simulcast or SVC) to adapt video to the
conditions of each receiver
● Preferences and priorities (prioritize screensharing,
dominant speaker… don’t send more pixels than needed...)
● Codecs choice (to save bandwidth and cpu cost). VP9 can
be a good choice
● Pagination (how to make it efficient and transition fast)
● Limit amount of KeyFrame requests
● Mixing video?
Audio
WebRTC only renders the 3 loudest speakers.
● DTX (send 5 packets per second when not speaking)
● Optimized mute (send 0 packets when muted)
● Selective Forwarding (forward only packets for the 3 loudest speakers)
● Rewriting ssrcs (forward only 3 loudest and use only 3 decoders)
● Mixing (mix and receive only one stream)
Facebook DTX, Selective
Google Meet Rewriting
Houseparty DTX
Jitsi Selective
Discord DTX

More Related Content

Similar to Scaling WebRTC for Large Rooms

Desktop Video Conferencing Software
Desktop Video Conferencing SoftwareDesktop Video Conferencing Software
Desktop Video Conferencing Software
Videoguy
 
The Hybrid Theory of Classroom Capture
The Hybrid Theory  of Classroom CaptureThe Hybrid Theory  of Classroom Capture
The Hybrid Theory of Classroom Capture
EveretteGAllen
 
Tuenti Tech Teams. Frontend, Backend, Systems and more, working together
Tuenti Tech Teams. Frontend, Backend, Systems and more, working togetherTuenti Tech Teams. Frontend, Backend, Systems and more, working together
Tuenti Tech Teams. Frontend, Backend, Systems and more, working together
Tuenti
 
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Videoguy
 
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Videoguy
 
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Videoguy
 
iDiff 2008 conference #6 IP-Racine DVS
iDiff 2008 conference #6  IP-Racine DVSiDiff 2008 conference #6  IP-Racine DVS
iDiff 2008 conference #6 IP-Racine DVS
Benoit Michel
 

Similar to Scaling WebRTC for Large Rooms (20)

Enhance your Collaboration Experience by Enabling Pervasive Video on your Cis...
Enhance your Collaboration Experience by Enabling Pervasive Video on your Cis...Enhance your Collaboration Experience by Enabling Pervasive Video on your Cis...
Enhance your Collaboration Experience by Enabling Pervasive Video on your Cis...
 
Cisco case study
Cisco case studyCisco case study
Cisco case study
 
Desktop Video Conferencing Software
Desktop Video Conferencing SoftwareDesktop Video Conferencing Software
Desktop Video Conferencing Software
 
Firesite Chat Klemen 18 March 2010
Firesite Chat Klemen 18 March 2010Firesite Chat Klemen 18 March 2010
Firesite Chat Klemen 18 March 2010
 
TrueСonf Products
TrueСonf ProductsTrueСonf Products
TrueСonf Products
 
Next Generation Immersive TelePresence
Next Generation Immersive TelePresenceNext Generation Immersive TelePresence
Next Generation Immersive TelePresence
 
ast-v-series
ast-v-seriesast-v-series
ast-v-series
 
5 Mxm Vc Bpro Briefing
5 Mxm Vc Bpro Briefing5 Mxm Vc Bpro Briefing
5 Mxm Vc Bpro Briefing
 
The Hybrid Theory of Classroom Capture
The Hybrid Theory  of Classroom CaptureThe Hybrid Theory  of Classroom Capture
The Hybrid Theory of Classroom Capture
 
Tuenti Tech Teams. Frontend, Backend, Systems and more, working together
Tuenti Tech Teams. Frontend, Backend, Systems and more, working togetherTuenti Tech Teams. Frontend, Backend, Systems and more, working together
Tuenti Tech Teams. Frontend, Backend, Systems and more, working together
 
John Repetto
John RepettoJohn Repetto
John Repetto
 
OmniJoin
OmniJoinOmniJoin
OmniJoin
 
uPerform implementation roadmap
uPerform implementation roadmapuPerform implementation roadmap
uPerform implementation roadmap
 
What's New In InduSoft Web Studio 8.0 +SP1
What's New In InduSoft Web Studio 8.0 +SP1What's New In InduSoft Web Studio 8.0 +SP1
What's New In InduSoft Web Studio 8.0 +SP1
 
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...
 
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...
 
Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...Deployment Of Multi-Network Video And Voice Conferencing On A ...
Deployment Of Multi-Network Video And Voice Conferencing On A ...
 
Telepresnce Solutions and SVC
Telepresnce Solutions and SVCTelepresnce Solutions and SVC
Telepresnce Solutions and SVC
 
iDiff 2008 conference #6 IP-Racine DVS
iDiff 2008 conference #6  IP-Racine DVSiDiff 2008 conference #6  IP-Racine DVS
iDiff 2008 conference #6 IP-Racine DVS
 
The Blueprint to Better Collaboration
The Blueprint to Better CollaborationThe Blueprint to Better Collaboration
The Blueprint to Better Collaboration
 

Recently uploaded

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

Scaling WebRTC for Large Rooms

  • 1. Scaling WebRTC for Large Rooms Gustavo Garcia @anarchyco
  • 2. Large rooms motivation Rooms are getting even larger because videoconferencing is getting more popular and ubiquitous (remote work, education) and this trend has been accelerated because of pandemic
  • 4. User Interface ● Auto mute when joining a big room ● Different layouts and pagination ● Speaking and dominant speaker detection ● Non verbal communication features (raise hands, emojis, chat, q&a, polls…) ● Spacial audio
  • 5. Architecture Typical architecture for videoconferencing assigns a single SFU to each room. For large rooms you usually need to split it in multiple SFUs and connect them (that also provide advantages in terms of latency and retransmissions) Images from bloggeek.me
  • 6. Video ● Scalable video (Simulcast or SVC) to adapt video to the conditions of each receiver ● Preferences and priorities (prioritize screensharing, dominant speaker… don’t send more pixels than needed...) ● Codecs choice (to save bandwidth and cpu cost). VP9 can be a good choice ● Pagination (how to make it efficient and transition fast) ● Limit amount of KeyFrame requests ● Mixing video?
  • 7. Audio WebRTC only renders the 3 loudest speakers. ● DTX (send 5 packets per second when not speaking) ● Optimized mute (send 0 packets when muted) ● Selective Forwarding (forward only packets for the 3 loudest speakers) ● Rewriting ssrcs (forward only 3 loudest and use only 3 decoders) ● Mixing (mix and receive only one stream) Facebook DTX, Selective Google Meet Rewriting Houseparty DTX Jitsi Selective Discord DTX