Interactive Live Streaming Overview
Sunset plan
This section provides sunset plans for the Agora Video SDK v3.x. You should prepare to replace or upgrade affected solutions in a timely fashion to avoid service disruptions.
Date | Milestone |
---|---|
14th March 2023 | We will no longer offer version 3.x of our Video, Voice and Interactive Live Streaming SDKs to new customers. |
14th March - 14th September 2023 | We will support existing implementations of 3.x with bug fixes and critical security updates. |
14th September 2023 | Only critical security patches will be supported. |
14th March 2024 | We will stop supporting version 3.x |
Overview
Agora Interactive Live Streaming Premium and Standard enables one-to-many and many-to-many audio or video live streaming with the Agora Video SDK.
Agora Interactive Live Streaming is different from Agora Video Call. In a video call, all users are the same role and can talk to each other freely. In an interactive live streaming, users can be the host or audience, where only the host can talk. For details, see this FAQ.
Different from the traditional CDN live broadcast, which only allows one-way communication from the hosts to the audience, the Agora Video SDK empowers the audience to interact with the hosts by becoming a host, like a viewer jumping onto the stage in the middle of a play to perform.
Live streaming solution comparison
The following table shows the differences between Agora live streaming products and traditional CDN live streaming:
Agora Interactive Live Streaming Premium | Agora Interactive Live Streaming Standard | Traditional CDN live streaming | |
---|---|---|---|
Typical scenarios | Live streaming events where the host(s) and audience have frequent audio and video interactions that require ultra-low latency on the audiences' clients. | Live streaming events where the host(s) must be able to respond quickly to the audience's text messages, comments, and virtual rewards or that require less frequent audio and video interactions. | Live streaming events that do not require audio or video interactions. |
Latency | Latency on the audience's client: 1500 ms - 2000 ms | Latency on the audience's client: > 3000 ms | |
Synchronization | |||
Interactive experience | Excellent | Good | Poor |
Pricing | High | Moderate | Low |
- A host‘s client refers to the client that calls an API to set the user role as host. An audience's client refers to the client that calls an API to set the user role as audience. A host can both send and receive streams, while an audience member can only receive streams.
- The latency between host's clients in Interactive Live Streaming Standard is the same as that in Interactive Live Streaming Premium, while the latency level on the audience's client in these two products is different:
- Interactive Live Streaming Standard: Low latency (1500 ms - 2000 ms) from the host's client to the audience's client.
- Interactive Live Streaming Premium: Ultra-low latency (400 ms - 800 ms) from the host's client to the audience's client.
- You can switch seamlessly between Interactive Live Streaming Standard and Interactive Live Streaming Premium by calling
setClientRole
and setting the latency level aslow
on the audience's client.
Functions and scenarios (Premium)
Agora Interactive Live Streaming Premium boasts a flexible combination of functions for different scenarios.
Function | Description | Scenario |
---|---|---|
Co-hosting in a channel | An audience switches to a co-host and interacts with the existing host. | |
Co-hosting across channels | Hosts interact with each other across channels. | PK Hosting. |
Audio mixing | Sends the local and online audio with the user's voice to other audience members in the channel. | |
Screen sharing | Hosts share their screens with the audience in the channel. Supports specifying which screen or which window to share, and supports specifying the sharing region. | |
Basic image enhancement | Sets basic beauty effects, including skin smoothening, whitening, and cheek blushing. | Image enhancement in a video call. |
Modify the raw data | Developers obtain and modify the raw voice or video data of the SDK engine to create special effects, such as a voice change. | |
Customize the video source and renderer | Users process videos (from self-built cameras, screen sharing, or files) for image enhancement and filtering. | |
Push streams to the CDN | Sends the audio and video of your channel to other RTMP servers through the CDN: |
See the following sample code for application scenarios:
Functions and scenarios (Standard)
Together with the Agora Signaling SDK, Interactive Live Streaming Standard enables you to implement the following live streaming scenarios:
Scenario | Description |
---|---|
Lecture Hall | In a large online class, the low latency of Interactive Live Streaming Standard allows the teacher's audio and video to be quickly synchronized to the clients of thousands of students. The low latency between the audio and video of the teacher and the courseware makes real-time teaching more effective. Students can interact with the teacher through text messages, online quizzes, and similar means to enhance the learning experience. |
Showroom | In a showroom live streaming, the audience can send virtual gifts to the host. Thanks to the low latency of Interactive Live Streaming Standard, the host can promptly thank the audience for their gifts, and the audience can receive the host's thanks in a timely fashion, which helps to strengthen the emotional connection on both sides. |
Live-stream Shopping | In a live-stream shopping scenario, customers can ask sellers for product and activity information via real-time messages. The low latency of Interactive Live Streaming Standard allows sellers to quickly respond to customers' questions, and customers can promptly see sellers' answers, thus encouraging transactions. In addition, the high synchronization of Interactive Live Streaming Standard ensures a consistent experience on the audiences' clients for activities such as responding to flash sales, and grabbing time-sensitive offers (seckilling) and coupons. |
Live match streaming | Live streaming sporting events or games in real time, synchronized so that there are no problematic delays. |
Trivia Game | Apart from providing a smooth live streaming experience, the high synchronization of Interactive Live Streaming Standard also ensures that players receive the questions at the same time. This gives the audience members the same amount of time to answer—and an equal chance to win. |
Interactive Live Streaming Standard boasts a flexible combination of functions for different scenarios.
Function | Description |
---|---|
Single Host | Low-latency live streaming by one host. The audience can join the channel and watch the live streaming. |
Becoming a host | An audience member can switch their user role and become a host. Then they can interact with other hosts via audio and video. |
Co-hosting across channels | Hosts interact with each other across channels. |
Audio mixing | Hosts combine the audio of a local or online file with their own voice, and then send it out in the channel. |
Basic image enhancement | Sets basic beauty effects in a video call, including skin smoothening, whitening, and cheek blushing. |
Screen sharing | Hosts share their screens with the audience in the channel. Supports sharing the whole or part of a window or screen. |
Modify the raw data | Developers obtain and modify the raw voice or video data of the SDK engine to create special effects, such as voice-changing effects. |
Customize the video source and renderer | Users process videos (from self-built cameras, screen sharing, or files) for image enhancement and filtering. |
Push streams to the CDN | The host publishes the audio and video in the channel to the CDN (Content Delivery Network):
|
Key properties
Property | Agora specifications (Premium) | Agora specifications (Standard) |
---|---|---|
SDK package size | 4.61 MB to 13.94 MB | 4.61 MB to 13.94 MB |
Host capacity | 17 users | Up to 17 users |
Latency on the audience's client | 400 ms to 800 ms | 1500 ms - 2000 ms |
Audience capacity | One million users | Up to one million users |
Video profile | ||
Audio profile | ||
Audio anti-packet-loss rate | 80% (uplink and downlink) | 70% (uplink and downlink) |
Compatibility
Agora Interactive Live Streaming Premium is supported on platforms such as iOS, Android, Windows, macOS, Electron, Unity, and Web, and allows for cross-platform connections. The following is a list of supported platforms and their versions.
Platform | Supported Version |
---|---|
Android | ≥ 4.1 The Android SDK supports the following ABIs: |
iOS | ≥ 9.0 |
Windows | ≥ Windows 7 The Windows SDK supports the following architecture: |
macOS | ≥ 10.10 The macOS SDK supports the following architecture: |
Unity | ≥ 2017 The Unity SDK supports the following platforms:
|
Web | See Web SDK Compatibility) |
Electron | ≥ Electron 1.8.3 |
Flutter | ≥ Flutter 1.0.0 |
React Native | ≥ React Native 0.59.10 |