Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
86 lines (74 sloc) 6.26 KB

title: Agora Interactive Broadcast Overview description: platform: All Platforms updatedAt: Wed Nov 14 2018 19:46:01 GMT+0000 (UTC)

Agora Interactive Broadcast Overview

The Agora Native SDK for Interactive Broadcast enables one-to-many and many-to-many audio or video live streaming. 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. You can also use this SDK for one-to-one video calls that require high image quality.

Functions and Scenarios

The Agora Native SDK for Interactive Broadcast Agora boasts a flexible combination of functions for different scenarios.

Function Description Scenario
Host-in at the Client Side Enables the audience to change the role to a co-host and interact with the existing host.
  • Large-scale live streams where the hosts can invite the audience to interact with them.
  • Online games such as Murder Mystery and Werewolf Killing.
  • Host-in across Channels Enables hosts to 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.
  • Screen Sharing Enables hosts to share their screen to the audience in the channel.
  • Interactive online classes.
  • Live streaming of gaming hosts.
  • Modify the Raw Data Enables developers to obtain and modify the raw voice or video 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 or video stream to an ongoing live broadcast channel, so the host and audience in the channel can listen to or watch the stream while interacting with each other. The attributes of video source can be set.
  • The host and audience watching a movie or game together.
  • Customize the Video Source and Renderer Enables customization of the video sources and renderers. This allows users to use self-built cameras and videos from screen sharing or files to process videos, such as for image enhancement and filtering.
  • To use a customized image enhancement library or pre-processing library.
  • To customize the application's built-in image and video modules.
  • To use other video sources, such as a recorded video.
  • To provide flexible device management for exclusive video capture devices to avoid conflicts with other services.
  • Push Streams to the CDN Sends the audio and video 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 enable more people to watch the live stream when the number of audience members in the channel exceeds 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
    Video Profile
  • SDK video source: Up to 1080p @ 60fps.
  • Custom video source: Up to 4K
  • 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, 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+
    iOS 8.0+
    Windows XP SP3+
    macOS 10.0+
    WeChat Mini-Programs Support
    Web
    • Chrome 58+
    • Firefox 56+
    • Safari 11+
    • Opera 45+
    • QQ 10+
    • 360 Security Browser 9.1+