This topic provides troubleshooting steps and best practices for resolving common issues with the Push SDK, helping you diagnose and solve problems.
References
To troubleshoot issues related to API operations, see API references:
Android: Basic Edition
iOS: Basic Edition
Flutter: Flutter Push SDK API Documentation
Windows: Windows Push SDK API Documentation
You can download the demo source code to learn how to use the APIs and verify their functionalities.
If your use case involves multi-host streaming, see Introduction to multi-host streaming and Quick start.
If you use ApsaraVideo MediaBox SDK, see the documentation of ApsaraVideo MediaBox SDK, which includes integration and usage guides.
Console navigation
The ApsaraVideo Live console supports various features, including live stream management, application management, data center, and toolbox.
For information about features supported by the console, see Feature overview.
To manage your SDK licenses, go to the My Licenses page in the console.
For information about how to use the troubleshooting tool in the toolbox, see Troubleshooting.
FAQ
If you encounter issues with license configurations, see FAQ.
If exceptions occur during stream ingest, use the troubleshooting tool to verify whether the ingest URL is valid.
Technical support
If the issues cannot be resolved by referring to the documents provided in this topic, contact us for technical support.
Provide the following information to get effective technical support faster:
Item | Description | Note |
Overview | Describe the issue you encountered in one sentence. | - |
Issue description |
|
|
Context |
|
|
Additional information |
|
Issue description template
Template
Title: One-sentence summary of the issue.
Business scenario: Such as standard live streaming, interactive streaming, Real-Time Streaming.
SDK version: Such as AlivcLivePusher: x.y.z or AlivcLivePusher_Interactive: x.y.z.
App/Package name: Such as LiveExample / com.example.liveapp
Issue description: For example, occasional stream interruption / Unable to pull stream / No video. Briefly describe the specific symptoms.
Reproduction: For example, intermittent or consistent.
Detailed reproduction steps:
1.
2.
3.
Affected users/device distribution: Such as Android 9 and earlier / iOS / Specific regions.
Ingest URL: Paste the complete ingest URL.
Streaming URL: If applicable.
Occurrence time: Specify the exact time, or provide examples if multiple occurrences.
Network environment: Wi-Fi/4G/5G/Wired network.
Issue logs: Logcat logs, ingest/streaming logs, preferably compressed.
Screen recording/screenshots: Upload any recordings or key screenshots of abnormal behavior.
Ingest parameter configuration: Such as resolution, frame rate, and bitrate.
Error messages: If errors occurred, provide error codes or messages.
Automatic recovery from exception: For example, auto-reconnection. Describe reconnection results.
Other: Any information you think might be helpful.Standard live streaming issue
Title: Occasional stream interruption during standard live streaming.
Business scenario: Standard live streaming.
SDK version: AlivcLivePusher: x.y.z.
App/Package name: LiveExample / com.example.liveapp
Issue description: During streaming, the stream is occasionally interrupted approximately every 30 minutes, requiring manual restart.
Reproduction: Intermittent.
Detailed reproduction steps:
1. Start stream ingest.
2. Stream interruption occurs after about 30 minutes.
3. Need to ingest again to recover.
Affected users/device distribution: Android 9 and earlier, multiple device models, more frequent in Southeast Asia.
Ingest URL: rtmp://test.alivecdn.com/live/streamId?auth_key=XXX
Occurrence time: 2024-05-18 12:34
Network environment: 4G
Issue logs: See attachment logcat_20240518.zip.
Screen recording/screenshots: See attachment.
Ingest parameter configuration: Resolution 720p, bitrate 1500kbps, frame rate 30fps.
Error messages: No error messages.
Automatic recovery from exception: No, manual restart required.
Other: None.Interactive streaming issue
Title: CDN viewers cannot receive host's video.
Business scenario: Multi-host streaming, AUI Kits interactive streaming.
SDK version: AlivcLivePusher_Interactive: x.y.z
App/Package name: LiveExample / com.example.liveapp
Issue description: Host-side stream ingest is normal, guests can pull the stream normally, but viewers cannot see the host's video, with no error messages.
Reproduction: Consistent.
Detailed reproduction steps:
1. Host starts interactive streaming and begins stream ingest.
2. Guests receive the host's stream normally.
3. Viewers (Android/iOS) enter the channel but cannot see the host's video.
Affected users/device distribution: Consistent on both Android and iOS.
Ingest URL: artc://live.aliyun.com/push/633?timestamp=1685094092&token=fe4e674ade****6686&userId=718&sdkAppId=xxx
Streaming URL: rtmp://test.alivecdn.com/live/xxx_633_718_camera?auth_key=XXX
Configuration: Channel number 633, AppID xxx, User ID 718, Playback domain test.alivecdn.com.
Occurrence time: 2024-05-18 12:34
Network environment: Wi-Fi
Issue logs: See attachment logcat_20240518.zip.
Screen recording/screenshots: See attachment.
Ingest parameter configuration: Resolution 720p, bitrate 1200kbps, frame rate 20fps.
Error messages: None.
Automatic recovery from exception: No, need to restart streaming.
Other: No messages on viewer side. Switching networks/devices does not help.