The Agora Native SDK for Audio Broadcasting enables one-to-many and many-to-many audio live streaming.

The difference between an Agora Voice Call and Agora Voice Interactive Broadcast is:

  • An Agora Voice Call prioritizes smoothness and low latency. All users are the same role and can talk to each other freely. A typical scenario of an Agora Voice Call is a voice conference call for many persons.
  • An Agora Voice Interactive Broadcast prioritizes high voice quality. Users can be the host or audience, where only the host can talk. A user who wants to talk must change the role to a host. A typical scenario of the Agora Voice Interactive Broadcast is an online trivia game.

Different from the traditional CDN live broadcast, which only allows one-way communication from the hosts to the audience, the Agora SDK for Interactive Broadcast empowers the audience to interact with the hosts through hosting-in, like a viewer jumping onto the stage in the middle of a play to perform.

The Agora Native SDK for Interactive Broadcast is applicable to scenarios that encourage active engagement, such as game-playing, online classes for students in small groups, and Q&A sessions during E-commerce live streaming.

Functions and Scenarios

The Agora Native SDK for Audio Broadcasting boasts a flexible combination of functions for different scenarios.

Function Description Scenario
Host-in at the client Side An audience switches to a co-host and interacts with the existing host.
  • Large-scale live streams where hosts can invite the audience to interact with them.
  • Online games such as Murder Mystery and Werewolf Killing.
  • Host-in 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.
  • Online KTV.
  • Interactive music classes for children.
  • Voice changer and reverberation Provides multiple presets to easily change the voice and set reverberation effects, also supports adjusting the pitch and using the equalization and reverberation modes flexibly.
  • Online KTV.
  • To change the voice in an online chatroom.
  • Spatial sound effects Sets the spatial sound effects for remote users to provide immersive experiences. FPS games.
    Modify the raw data Developers obtain and modify the raw voice data of the SDK engine to create special effects, such as a voice change.
  • To change the voice in an online voice chatroom.
  • Image enhancement in a live stream.
  • Inject an online media stream Injects an external audio stream to an ongoing live broadcast channel. The host and audience in the channel can listen to or watch the stream while interacting with each other. You can set the attributes of the audio source.
  • The host and audience listening to a concert together.
  • Push streams to the CDN Sends the audio of your channel to other RTMP servers through the CDN:
  • Starts or stops publishing at any time.
  • Adds or removes an address while continuously publishing the stream.
  • Adjusts the picture-in-picture layout.
  • To send a live stream to WeChat or Weibo.
  • To allow more people to watch the live stream when the number of audience members in the channel reached the limit.
  • See the following sample code for application scenarios:

    Key Properties

    Property Agora Live Broadcast Specifications
    SDK Package Size 3.69 MB to 7.75 MB
    Host Capacity 17 users
    Audience Capacity One million users
    Audio Profile
  • Sample rate: 16 KHz to 48 KHz.
  • Support for mono and stereo sound
  • Audio Anti-packet-loss Rate 70% (uplink and downlink)
    Latency between the Host and the Host-in Audience/Host 200 ms to 600 ms

    Compatibility

    The Agora Native SDK for Interactive Broadcast is supported on platforms such as iOS, Android, Windows, macOS, Electron, Linux, Web, and WeChat Mini-programs, 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 architecture:
  • ARMv7
  • ARM64
  • x86
  • x86-64
  • iOS 8.0+
    Windows XP SP3+
    The Windows SDK supports the following architecture:
  • x86
  • x64
  • macOS 10.0+
    WeChat Mini-Programs Support
    Web
  • Chrome 58+
  • Chrome 49 on Windows XP
  • Firefox 56+
  • Safari 11+
  • Opera 45+
  • QQ 10+
  • 360 Security Browser 9.1+