Build the Android Push SDK demo
Learn how to build the demo of the basic edition of the stream ingest SDK for Android.
Download the demo
Download the latest Push SDK demo source code and installation package from Download SDK.
Build the demo
Environment requirements
System requirements
Category
Requirement
Operating system
Android 5.0 or later.
API level
API level 21 or later.
CPU architecture
ARM64.
Run the demo
Download the demo package from Download SDK.
In Android Studio, click Open an Existing Project and select the demo project.
After the project builds, click Run to install the demo on your Android device.
Explore the demo features.
stream ingest experience
Details
Live stream ingest homepage
The homepage displays five feature entries:
camera stream ingest
screen recording stream ingest
stream pulling playback
guest spot mode
PK interaction
Android demo directory structure
The demo source code has the following directory structure.
.
├── AndroidThirdParty
│ └── config.gradle
├── LICENSE
├── LiveApp
│ ├── build
│ ├── build.gradle
│ ├── build_lib.gradle
│ ├── dependencies.gradle
│ ├── livepush.jks
│ ├── proguard-rules.pro
│ └── src
├── LiveBasic
│ ├── live_pull
│ ├── live_pull_rts
│ ├── live_push
│ └── live_screencap
├── LiveBeauty
│ ├── README.md
│ ├── live_beauty
│ └── live_queenbeauty
├── LiveCommon
│ ├── live_commonbiz
│ ├── live_commonui
│ └── live_commonutils
├── LiveInteractive
│ ├── live_barestream
│ ├── live_interactive
│ ├── live_interactive_common
│ └── live_pk
├── README.md
├── aioDebug.gradle
├── build.gradle
├── gradle
│ └── wrapper
├── gradle.properties
├── gradlew
├── gradlew.bat
├── module_dependencies.png
├── project_design.png
└── settings.gradle
LiveAPPis the application module and the entry point of the demo.Features are organized into separate sub-modules, grouped as
LiveBasicfor basic live streaming,LiveBeautyfor retouching, and so on.
FAQ
How do I get an ingest URL?
Get an ingest URL from Generate ingest URLs and stream pulling URLs.
What should I do if stream ingest fails?
Use the troubleshooting tool to check whether your ingest URL is valid.
How do I view information about an ingested audio or video stream?
Go to the Stream management page, and then use the active stream list to view and manage the audio and video streams that you ingested.
How do I test playback?
After stream ingest starts, run a stream pulling test with a player such as Alibaba Cloud Player, FFplay, or VLC. Get a stream pulling URL from Generate ingest URLs and stream pulling URLs.