Home / Companies / Video SDK / Blog / Post Details
Content Deep Dive

How to scale multi-host live streaming for collaborative rooms

Blog post from Video SDK

Post Details
Company
Date Published
Author
Video SDK Team
Word Count
2,197
Language
English
Hacker News Points
-
Summary

VideoSDK's Interactive Live Streaming (ILS) enables multiple hosts to participate in a collaborative streaming session where they can share audio and video in real-time, while a large audience consumes a low-latency, composited HTTP Live Streaming (HLS) feed. The architecture supports two participant modes: SEND_AND_RECV for hosts who actively broadcast their feeds and RECV_ONLY for audience members who directly join the room. However, most viewers access the stream through a scalable HLS output generated by startHls(), allowing for CDN-scale distribution. The platform also supports RTMP simulcasting to services like YouTube and Twitch via startLivestream(). Flexible layout management is available, with options such as GRID, SIDEBAR, and SPOTLIGHT, and the ability to seamlessly switch configurations mid-stream. Mode promotion enables audience members to become hosts through a PubSub-based invite system, and host management is facilitated by hooks like onParticipantLeft to update the UI dynamically. The VideoSDK React SDK supports both desktop and mobile platforms, ensuring a versatile streaming solution for diverse broadcasting needs.