Build a Breakout Room Application in JavaScript with Vonage Video API
Breakout Room is a common feature in video conferencing applications that allows splitting the main meeting room into separate ones, and participants can send messages to the host no matter which room they are in. The Vonage Video API provides multiple ways to implement this feature, including creating a big Video Session with logic controlling which streams to subscribe to for each user or implementing breakout rooms as separate sessions and connecting participants to these different sessions. This tutorial explains how to use the separate sessions method to build the Breakout Room feature into an application using signaling API, where the application server creates rooms, generates tokens, maintains the rooms and participants, and sends signaling messages to rooms. The tutorial covers the application's server and database design, including a room table that stores information about each room, and how to use Signaling-REST API to send messages to clients connected to all sessions related to a main-room/breakout-room. It also shows how to re-use the Publisher object when switching back and forth among rooms.
Company
Vonage
Date published
May 24, 2022
Author(s)
Iu Jie Lim
Word count
1379
Language
English
Hacker News points
None found.