Broadcasting Overview
The Social Plus Video SDK provides comprehensive room-based broadcasting capabilities that enable interactive live streaming with co-hosting support across all platforms.What is Room Broadcasting?
Room broadcasting enables collaborative live streaming where multiple hosts can broadcast together using LiveKit infrastructure. Unlike traditional single-host livestreams, rooms support real-time co-streaming, viewer interaction through live chat, and comprehensive moderation controls.Key Features
Co-Hosting
Multiple broadcasters in one stream
- Invite co-hosts to join the broadcast
- Real-time audio/video synchronization
- Host and co-host role management
LiveKit Integration
Professional streaming infrastructure
- Low-latency video transmission
- Adaptive bitrate streaming
- Automatic quality optimization
Live Chat
Real-time viewer engagement
- Integrated chat channels
- Host and co-host badges
- Moderation tools
Recording & Playback
Complete content lifecycle
- Automatic recording
- Post-broadcast playback
- Recording management
Room Lifecycle
Room States
| Status | Description | Actions Available |
|---|---|---|
| Idle | Room created but not broadcasting | Start stream, invite co-hosts |
| Live | Room is actively broadcasting | Manage broadcast, invite co-hosts |
| Waiting Reconnect | Temporary disconnection | Auto-reconnect, manual stop |
| Ended | Broadcast finished | Wait for recording |
| Recorded | Recording available | Playback, download |
Broadcasting Workflow
1. Create Room
Set up a room with title, description, and optional configuration.2. Create Room Post
Link the room to a post for social distribution in feeds or communities.3. Get Broadcaster Data
Retrieve LiveKit credentials (coHostToken, coHostUrl) for streaming.
4. Connect to LiveKit
Use the LiveKit SDK to establish the streaming connection.5. Start Broadcasting
Enable camera and microphone to begin the live broadcast.6. Manage Broadcast
Invite co-hosts, monitor connection, interact with viewers.7. End Broadcast
Disconnect from LiveKit and stop the room.Platform Support
| Platform | Status | Notes |
|---|---|---|
| iOS | ✅ Full Support | AVFoundation + LiveKit SDK |
| Android | ✅ Full Support | Camera2 API + LiveKit SDK |
| TypeScript/Web | ✅ Full Support | WebRTC + LiveKit SDK |
Broadcasting Architecture
The room broadcasting system uses LiveKit for real-time video streaming:- Host creates the room and gets broadcaster credentials
- Co-Hosts are invited and receive their own credentials
- Viewers watch via HLS playback URL (no LiveKit connection needed)
- Live Chat runs through integrated chat channels