Agora SDK v4.0.0 is a new SDK that you use to embed real-time video and audio into your app. It supports large-scale real-time interactive activities, and provides better real-time interactive effects.
With the top extension vendors entering the Agora Extensions Marketplace, Agora has built an extension ecosystem based on this new SDK that allows developers to integrate extension services seamlessly.
Using Video SDK v4.0.0 you can now publish multiple external audio and video streams to any channel. This includes multi-camera capture, multi-channel screen capture and self-rendering. You can also push built-in players that support multi-channel video stream channel management to the network.
This section describes the benefits and key features of the Agora SDK v4.0.0.
In order to enhance the real-time audio and video interactive activities based on the Agora SDK, this release supports the one-stop solution for the extensions from the Agora extensions marketplace:
Add channel media options to simplify the publish/subscribe operation.
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 |
setClientRole
to set the user role as host. An audience's client refers to the client that calls setClientRole
to set the user role as audience. A host can both send and receive streams, while an audience member can only receive streams.setClientRole
and setting the latency level as low
on the audience's client.Agora Interactive Live Streaming Premium boasts a flexible combination of functions for different scenarios.
Function | Description | Scenario |
---|---|---|
Single host | Low-latency live streaming by one host. The audience can join the channel and watch the live streaming. | |
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. | |
Basic image enhancement | Sets basic beauty effects, including skin smoothening, whitening, and cheek blushing. | Image enhancement in a video call. |
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. | |
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: |
Property | Agora specifications |
---|---|
SDK package size | 4.61 MB to 13.94 MB |
Host capacity | 17 users |
Latency on the audience's client | 1500 ms to 2000 ms |
Audience capacity | One million users |
Video profile | |
Audio profile | |
Audio anti-packet-loss rate | 80% (uplink and downlink) |
Latency between the host and the co-host | ≤ 400 ms |
Agora Interactive Live Streaming Premium is supported on platforms such as iOS and Android. 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+ |
macOS | 10.0+ The macOS SDK supports the following architecture: |
Windows | Windows 7+ The Windows SDK supports the following architecture: |