New Architecture, Better Experience: The new Room-based livestreaming system replaces the legacy Stream feature, delivering significant improvements in video quality, latency, and interactive capabilities.
Why Upgrade?
The legacy Stream feature is being deprecated in favor of our new Room-based livestreaming system. Beyond the deprecation, there are compelling reasons to upgrade that will benefit both your development experience and your end users.Enhanced Video Quality
Higher Resolutions
Up to 1080p Full HD
- Support for HD (720p), and FHD (1080p)
- Adaptive bitrate streaming for optimal quality
- Professional-grade video encoding
Reduced Latency
Near Real-Time Streaming
- Low-latency mode for interactive broadcasts
- Faster viewer-to-broadcaster interaction
New Capabilities
Co-Streaming
Multi-Host BroadcastingThe flagship feature of the new Room system enables multiple broadcasters to stream together in a single session:
- Invite co-hosts to join your broadcast
- Accept invitations to join as a co-host
- Real-time audio/video synchronization between hosts
- Collaborative stream management
Live Viewer Count
Real-Time Audience InsightsKnow exactly how many people are watching:
- Real-time viewer count updates
- Who’s watching list to see active viewers
Comprehensive Analytics
Deep Insights into Viewer BehaviorUnlock powerful analytics to understand your audience:
- Total views and unique viewer counts
- Watch minutes tracking with accurate duration
- Average and peak concurrent viewers
- Per-stream engagement metrics
Migration Overview
The migration from Stream to Room is straightforward, with most changes being simple terminology updates. The new Room system maintains functional parity with the legacy Stream system while adding new capabilities.Terminology Changes
| Legacy (Stream) | New (Room) | Description |
|---|---|---|
AmityStream | AmityRoom | The main livestream entity |
AmityStreamRepository | AmityRoomRepository | Repository for stream operations |
streamId | roomId | Unique identifier for the stream |
dataType: 'stream' | dataType: 'room' | Post data type for livestream posts |
SDK Migration
Repository Changes
Replace Stream repository calls with Room repository equivalents:Creating Livestream Posts
When creating posts with livestream content, useroomId instead of streamId:
Entity Property Mapping
Most properties map directly with name changes:| Legacy Stream Property | New Room Property |
|---|---|
stream.streamId | room.roomId |
stream.title | room.title |
stream.description | room.description |
stream.status | room.status |
New Room-Only Features
The Room system introduces new capabilities not available in the legacy Stream. These features are ready to use once you migrate:| Feature | Description | Documentation |
|---|---|---|
| Co-Host Management | Invite co-hosts, accept invitations, manage participants during broadcasts | Co-Host Guide |
| Live Viewer Count | Real-time viewer count and who’s watching list | Live Viewing |
| Watch Analytics | Automatic watch session tracking with accurate duration | Analytics |
UIKit Migration
Automatic Migration
When you upgrade to the latest version of UIKit:- New Livestream Creation: All new livestream posts will automatically use the Room-based system
- Legacy Support: Posts created with the legacy Stream system remain fully viewable
- Seamless Experience: Users won’t notice any difference—the UI remains the same
Open Source UIKit
If you’re using our open-source UIKit:- Pull the latest changes from the repository
- The Room integration is included automatically
- All new livestream functionality is available out of the box
What’s Included Automatically
- ✅ Room creation and broadcasting UI
- ✅ Co-streaming interface and co-host management
- ✅ Live viewer count display
- ✅ Watch minutes analytics tracking
- ✅ Backward compatibility with legacy Stream posts
Console Updates (Coming soon)
The Admin Console with dedicated Room management and a powerful analytics dashboard:New Room Management Section
- Dedicated Room Dashboard: Separate section for Room-based livestreams
- Legacy Stream Section: Existing streams remain accessible in their original location
- Enhanced Moderation Tools: Improved controls for Room-based broadcasts
Livestream Analytics Dashboard
The new analytics dashboard provides comprehensive insights into your livestream performance:| Feature | Description |
|---|---|
| Overview Metrics | Total streams, views, unique viewers, and watch minutes with trend comparisons |
| Stream Table | Sortable list of all streams with key metrics (views, viewers, duration, engagement) |
| Stream Detail View | Deep dive into individual stream performance with time-series charts |
| Viewership Charts | Visualize concurrent viewers throughout the stream duration |
| Engagement Charts | Track chat messages and reactions over time |
Key Console Features
| Feature | Description |
|---|---|
| Room List | View and manage all Room-based livestreams |
| Live Monitoring | Real-time view of active broadcasts |
| Analytics Dashboard | View watch time and engagement metrics |
| Moderation Controls | Terminate streams, manage flagged content |
Backward Compatibility
Legacy Content Preserved: All existing Stream-based posts and recordings remain accessible. Users can continue viewing legacy content without any issues.
- Legacy Stream posts continue to work and display correctly
- Recorded content from legacy streams remains playable
- No data migration required for existing content
- Gradual transition at your own paceBest Practices
Deprecation Timeline
| Phase | Timeline | Details |
|---|---|---|
| Current | Now | Room-based streaming available, Stream deprecated |
| Maintenance Mode | 6 months | Stream receives security fixes only, no new features |
| End of Support | TBA | Stream feature will be removed |