Error Code | Value | Description | Solution |
|---|---|---|---|
PlayerConstants.ErrorCode.MEDIA_ERROR_SERVER_DIED | 1000 | The WisePlayer service is abnormal. | Stop playback, release WisePlayer, and create a WisePlayer instance again. |
PlayerConstants.ErrorCode.LOAD_LIBRARY_FAILED | 1001 | Failed to load the WisePlayer dynamic library. | Make sure that HMS Core (APK) has been correctly installed on the device and the Video SDK has been updated to the latest version. |
PlayerConstants.ErrorCode.UNSUPPORTED_CODEC | 1002 | The media encoding format is not supported or the decoder is abnormal. | Make sure that the media encoding format is one of those supported by WisePlayer. |
PlayerConstants.ErrorCode.UNSUPPORTED_FORMAT | 1003 | The media encapsulation format is not supported. | Make sure that the media encapsulation format is one of those supported by WisePlayer. |
PlayerConstants.ErrorCode.PARSE_FAILED | 1004 | Failed to parse the media file. | Make sure that the media file is in correct format. |
1005 | Failed to obtain the latest video segment list. | Stop playback, release WisePlayer, and check the video. | |
1021 | Failed to seek to a point in a video by calling seek. | Stop playback, release WisePlayer, and check the video. | |
PlayerConstants.ErrorCode.SWITCH_PLAYMODE_AUDIO_FAILED | 1022 | Failed to switch to the audio-only mode by calling setPlayMode. | Stop playback, release WisePlayer, and check the video. |
PlayerConstants.ErrorCode.SWITCH_PLAYMODE_NORMAL_FAILED | 1023 | Failed to switch to the audio+video mode by calling setPlayMode. | Stop playback, release WisePlayer, and check the video. |
PlayerConstants.ErrorCode.SWITCH_BITRATE_FAILED | 1024 | Failed to switch the bitrate by calling switchBitrateDesignated or switchBitrateSmooth. | Stop playback, release WisePlayer, and create a WisePlayer instance again. |
PlayerConstants.ErrorCode.SWITCH_AUDIO_FAILED | 1025 | Failed to switch the audio track. | Stop playback, release WisePlayer, and create a WisePlayer instance again. |
PlayerConstants.ErrorCode.SWITCH_SUBTITLE_FAILED | 1026 | Failed to change the subtitle. | Stop playback, release WisePlayer, and create a WisePlayer instance again. |
PlayerConstants.ErrorCode.SWITCH_SPEED_FAILED | 1027 | Failed to set the playback speed by calling setPlaySpeed. | Stop playback, release WisePlayer, and create a WisePlayer instance again. |
1028 | Failed to set the bitrate range by calling setBitrateRange or no bitrate is available in the bitrate range set. | Stop playback, release WisePlayer, change the bitrate range, and create a WisePlayer instance again. | |
1029 | Failed to initialize the WisePlayer rendering module. | Stop playback, release WisePlayer, and create a WisePlayer instance again. | |
PlayerConstants.ErrorCode.UNKNOWN | 1099 | Other errors during playback. | Stop playback, release WisePlayer, and create another WisePlayer instance. |
PlayerConstants.ErrorCode.MEDIA_NOT_FOUND | 1100 | No video is found based on the URL set in setPlayUrl. | Make sure that all parameters are correctly set. |
PlayerConstants.ErrorCode.PLAYPARAM_PARSE_FAILED | 1101 | Incorrect parameter format set in setPlayUrl. | Set the parameters in correct format. |
PlayerConstants.ErrorCode.GET_URL_FAILED | 1119 | Failed to obtain the playback URL set in setPlayUrl due to other errors. | Make sure that all parameters are correctly set. |
PlayerConstants.ErrorCode.URL_ERROR | 1120 | Incorrect URL format set in setPlayUrl. | Set the URL in correct format. |
PlayerConstants.ErrorCode.URL_ARRAY_LENGTH_ERROR | 1121 | The number of URLs set in setPlayUrl exceeds the upper limit. | Set eight URLs at most. |
PlayerConstants.ErrorCode.INPUT_PARAM_ILLEGAL_ERROR | 1130 | The parameter verification request failed during an API call. | Make sure that all parameters are correctly set. |
PlayerConstants.ErrorCode.SERVER_ERROR | 1131 | The server API returns an error. | Make sure that all parameters are correctly set. |
PlayerConstants.ErrorCode.DEFAULT_ERROR | 1199 | Other error | Make sure that all parameters are correctly set and the network connection is available. |
PlayerConstants.ErrorCode.IO_FAILED | 1201 | I/O exception. For example, the network is disconnected. | Stop playback, and make sure that the network connection is available. |
PlayerConstants.ErrorCode.IO_TIMEOUT | 1202 | I/O timeout. For example, connection to the media streaming server times out. | Stop playback, and make sure that the network connection is available and the media streaming server is running properly. |
PlayerConstants.ErrorCode.PROTOCOL_SPEC | 1203 | The server returns an HTTP error. Sub-codes of this error code are error codes in the HTTP response, for example, 403 and 500. | Stop playback, and make sure that the server is running properly and the playback URL is correct. |
1204 | The CA certificate in the HTTPS request is incorrect. | Make sure that the CA certificate is one of those in Certificate List. | |
1205 | Failed to verify the server for the HTTPS request. | Make sure that the device has set a correct CA certificate for WisePlayer. | |
PlayerConstants.ErrorCode.DRM_FAILED | 1300 | Failed to play a DRM-encrypted video. | Stop the playback because DRM-encrypted videos are not supported in the current version. |
PlayerConstants.InitErrorCode.INIT_ERROR_PARAM_ILLEGAL | 9901 | Failed to initialize WisePlayer due to invalid parameters for initialization. | Make sure that the parameters used for WisePlayer initialization are correctly set. |
PlayerConstants.InitErrorCode.INIT_ERROR_DYNAMICLOADER_MODULE_NONE | 9902 | Failed to initialize WisePlayer because the dynamic loading module does not exist. | Make sure that HMS Core (APK) has been correctly installed on the device and the Video SDK has been updated to the latest version. |
PlayerConstants.InitErrorCode.INIT_ERROR_DYNAMICLOADER_FAILED | 9903 | Failed to initialize WisePlayer because the player module failed to be dynamically loaded. | Make sure that HMS Core (APK) has been correctly installed on the device and the Video SDK has been updated to the latest version. |
PlayerConstants.InitErrorCode.INIT_ERROR_DMP_OPEN_FAILED | 9904 | Failed to initialize WisePlayer because the player engine failed to be properly initialized. | Make sure that HMS Core (APK) has been correctly installed on the device and the Video SDK has been updated to the latest version. |
PlayerConstants.InitErrorCode.INIT_ERROR_UNKNOWN | 9999 | Other WisePlayer initialization errors. | Make sure that HMS Core (APK) has been correctly installed on the device and the Video SDK has been updated to the latest version. |
Go to , select the relevant category, and submit a ticket. Huawei will get back to you as soon as possible.