Build the Android Push SDK demo
Learn how to build and run the Push SDK for Android demo.
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 and ARMv7.
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.
Live Ingest
Details
Live ingest homepage

Android demo directory structure
The demo source code has the following directory structure.
-
LiveAPP: the application module and entry point of the demo.
-
Features are organized into sub-modules, such as
LiveBasicfor basic streaming andLiveBeautyfor retouching.
FAQ
How do I get an ingest URL?
Get an ingest URL from Generate ingest and streaming URLs.
What should I do if stream ingest fails?
Use the troubleshooting tool to check if your ingest URL is valid.
How do I view information about my active streams?
On the Stream management page, click the Active Streams tab to view and manage your active audio and video streams.
How do I play the stream?
After stream ingest starts, use a player such as ApsaraVideo Player, FFplay, or VLC to play the stream. Get a streaming URL from Generate ingest and streaming URLs.