This topic describes how to use the demo of Push SDK for Android.
Download the demo
To download the latest version of Push SDK for Android and the demo source code, see Download SDK.
Try the demo
Environment requirements
Item | Requirement |
OS version | Android 5.0 or later |
Android API version | API level 21 or later |
CPU architecture | ARM64 or ARMv7 |
Run the demo source code
Open Android Studio. Click Open an Existing Project and import the downloaded demo project to Android Studio.
Compile the demo, then click Run to install the demo on your Android device.
Try the features provided in the demo.
Homepage

Directory structure
The following figure shows the directory structure of the demo: 
LiveAPP is the application module and the entrance to the demo.

Different features are placed in different sub-modules, including LiveBasic (basic streaming), LiveBeauty (retouching), and LiveInteractive (interactive streaming).
FAQ
Ingest URLs
To get ingest URLs, see Generate ingest and streaming URLs.
Stream ingest failure
If you fail to ingest a stream, use the troubleshooting tool to check if the ingest URL is valid.
Active streams
To view and manage the ingested streams, go to Stream management and click the Active Streams tab.
Stream playback
You can use a player, such as ApsaraVideo Player, FFplay, and VLC media player, to pull an ingested stream using the streaming URL. To get the URL, see Generate ingest and streaming URLs.