No description, website, or topics provided.


Agora OpenLive is a demo of Agora Interactive Broadcasting - Android

  • Up to 7 hosts / presenters
  • Any audience can call in to join live conversations
  • Super low latency, less than 1 second
  • Switch stream type / screen UI freely
  • Unique anti-packet-loss algorithm
  • Globally distributed data centers to ensure international usage

Agora OpenLive 是 声网 多人主播和视频连麦直播demo - Android

  • 最多7人同时主播
  • 观众主播视频连麦
  • 毫秒级超低延迟,秒杀CDN
  • 大小流切换,多主播视窗随意切换
  • 超强抗丢包,网络不好直播仍然流畅
  • 跨洲跨国数据中心,保障直播全球扩展

Agora OpenLive Overview

This demo is featuring live interactive broadcasting with the following unique features:

  1. Support 4 hosts by default(can be extended to 7). UI design can be self defined.
  2. Audiences can call in with audio / video.
  3. Switch video stream free with different screen UI.
  4. Globally broadcasting.

This demo shall be working only with Agora interactive broadcasting SDK. Please contact Developers from China can call 400 632 6626.


  1. 主播人数目前最多可以同时支持4人(SDK支持7人),也可以是4人以下任何人数。可根据场景来自由定义和设计视窗UI;
  2. 支持观众和主播语音/视频连麦;
  3. 支持大小流切换,观众在多视窗观看时,可选择任意主播放大主屏观看;
  4. 支持全球范围的直播,跨国跨洲直播

该Demo需要基于 声网 的实时互动直播技术才能运行。如有需求,请联系。中国用户可直接拨打400 632 6626。 Interactive Broadcasting

Agora Interactive Broadcasting is based on UDP featuring super low latency/delay, less than 1 second. This ensures “real time presence” experience when multiple hosts talking lively and when audiences call in.

Agora has 100 data centers distributed globally. With the virtual network, the broadcasting experience are stable and smooth.

Agora Interactive Broadcasting SDK is available for iOS, Android, macOS and Windows, supporting RTMP and HLS. It enables bit rate auto adjustment to adapt to broadcasting under different bandwidth.

This demo does not include broadcasting business server. Developers can build your own business server and interact with Agora SDK.

声网 的实时互动直播技术,区别于所有CDN方案。它是全球第一个以UDP为基础的直播方案。与传统CDN方案相比,最大的特点是超低延时,基本都在毫秒级的延迟。这能保证在多个主播及观众连麦时,有“实时对话”的体验。

声网 在全球部署了将近100个数据中心,加上lastmile算法,有超强抗丢包特点,可以保障全球范围稳定靠谱的直播体验。

声网 的客户端SDK,支持iOS、Android、macOS和Windows,支持RTMP、HLS协议。另外客户端SDK还支持码率自适应,以适应不同网络环境直播需求。支持美颜。

此Demo不涉及到直播业务服务器部分,此部分一般由开发者自行开发,然后和 声网 直播服务交互。

Bug reports

Build Instructions

Java 8 SDK/AndroidAndroid SDK/NDK tools need to be ready on you host machine, if you does not have them ready, follow instructions here:

We use Gradle/Jack and Jill to build, if you want know more about Gradle/Jack and Jill, follow instructions here:

NOTICE: before building, you need to

  1. update your App ID at app/src/main/res/values/strings_config.xml


    you can get your own ID at

  2. If you get source code directly from GitHub, you need to copy library and header files from Agora SDK package to your project, follow below instructions.

    update libraries at app/libs(.jar) and app/src/main/libs(.so), check PLACEHOLDER for details

    update face beautify module(aar) at libvideoprp, check PLACEHOLDER for details

    If you get source code from Agora SDK package, we have already configured it well, just build and run it.

Gradle build instructions

./gradlew assembleDebug

This will generate the APK, you need to install and run this APK on Android devices.

Or just use the one step command to build and install

./gradlew installDebug

Enjoy video broadcasting