Client Error Codes
This section describes details about the error codes reported on the LLL Web client SDK.
Class Member |
Error Code |
Description |
Error Cause or Handling Suggestion |
---|---|---|---|
HWLLS_OK |
0 |
Succeeded. |
- |
HWLLS_ERROR_INVALID_URL |
50000000 |
Invalid URL. |
Check whether the URL is correct. |
HWLLS_ERROR_INVALID_PARAMETER |
50000001 |
Invalid parameter. |
Parameter transfer error. Check whether the input parameters of the API meet the parameter validity requirements. |
HWLLS_ERROR_SERVER_CONNECT_FAIL |
50000002 |
Connect to the server failed. |
Check whether the network status is normal or contact Huawei technical support. |
HWLLS_ERROR_SERVER_NO_RESPONSE |
50000003 |
The server does not respond. |
Contact Huawei technical support. |
HWLLS_ERROR_AUTH_FAIL |
50000004 |
Authentication failed. |
Check whether the referer validation and URL validation configurations on the server are correct. |
HWLLS_ERROR_STREAM_NOT_EXIST |
50000005 |
The requested stream does not exist. |
Use a stream available. |
HWLLS_ERROR_WEBRTC_UNSUPPORTED |
50000006 |
Your browser does not support the function. |
1. Use a supported browser. For details, see Browser Adaptation. 2. Downgrade the FLV or HLS livestreaming. |
HWLLS_MEDIA_NETWORK_ERROR |
50000007 |
Abnormal media network connection |
Check whether the network status and firewall configuration are correct, or downgrade the FLV or HLS livestreaming. |
HWLLS_ERROR_STREAM_INVALID_PARAMETER |
50000008 |
Incorrect stream information |
Check whether the URL of the requested stream is correct. |
HWLLS_ERROR_BANDWIDTH_OVER_MAXIUM |
50000009 |
The bandwidth exceeds the upper limit. |
Contact Huawei technical support. |
HWLLS_INTERNAL_ERROR |
50000020 |
Other internal errors |
Contact Huawei technical support. |
HWLLS_BUSSINESS_DOWNGRADE |
50000021 |
The service needs to be downgraded. |
You are advised to downgrade the FLV or HLS livestreaming. |
HWLLS_PLAY_WEBRTC_RETRY_FAILED |
50000022 |
After the LLL playback is interrupted, multiple attempts for resuming playback failed. |
You are advised to downgrade the FLV or HLS livestreaming. |
HWLLS_PLAY_FLV_RETRY_FAILED |
50000023 |
After the FLV playback is interrupted, multiple attempts for resuming playback failed. |
Contact Huawei technical support. |
HWLLS_PLAY_HLS_RETRY_FAILED |
50000024 |
After the HLS playback is interrupted, multiple attempts for resuming playback failed. |
Contact Huawei technical support. |
HWLLS_ERROR_LIVE_UNSUPPORTED |
50000030 |
The content format is not supported by the browser. |
Contact Huawei technical support. |
HWLLS_ERROR_UNEXPECTED_EOF |
50000031 |
The network EOF is abnormal during content playback. |
Try again. |
HWLLS_ERROR_MEDIA_ERROR |
50000032 |
The media content playback is abnormal. |
Try again or contact Huawei technical support. |
HWLLS_ERROR_REPORT_TOKEN_ERROR |
50000033 |
Token exceptions occur during dotting and log uploading. |
Contact Huawei technical support. |
HWLLS_PLAY_NOT_ALLOW |
51000000 |
The playback permission is restricted. You need to manually trigger the playback. |
Due to the restrictions of the browser's automatic playback security policy, this error code is returned when the browser directly starts the app and playback starts. According to this error code, you need to manually trigger the UI control on the page at the application layer and call the replay API to resume playback.
NOTICE:
If Safari is used, perform the following operations: Open Safari, choose Preferences > Websites > Auto-Play, select a website and enable Allow All Auto-Play for it. |
HWLLS_PLAY_TIMEOUT |
51000001 |
Playback times out. No valid frame data is obtained within 10 seconds. |
Check the stream push status or contact Huawei technical support. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.