harmony 鸿蒙Media Error Codes
Media Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
5400101 Memory Allocation Failed
Error Message
No memory.
Description
Failed to allocate memory.
Possible Causes
- The number of instances exceeds 16.
- The new or malloc process fails, causing a null pointer.
Solution
Destroy this instance and re-create it. If the re-creation fails, stop related operations.
5400102 Unsupported Operation
Error Message
Operation not allowed.
Description
This operation is not allowed.
Possible Causes
This operation is not allowed in the current state.
Solution
Switch the instance to the correct state and perform the operation.
5400103 I/O Error
Error Message
I/O error.
Description
An I/O error occurs.
Possible Causes
The data interaction between the media and other modules (graphics, audio, network, HDI, and camera) is abnormal.
Solution
Ensure that the network is normal, destroy this instance, and re-create it. If the re-creation fails, stop related operations.
5400104 Operation Timeout
Error Message
Operation timeout.
Description
The operation timed out.
Possible Causes
- The network connection times out. (The default network timeout period is 15 seconds, and the timer starts after the buffered event is reported.)
- Accessing other modules times out.
Solution
- Check whether the network is normal.
- Destroy this instance and re-create it. If the re-creation fails, stop related operations.
5400105 Play Service Dead
Error Message
Service died.
Description
The playback service is dead.
Possible Causes
The playback service is dead.
Solution
Destroy this instance and re-create it. If the re-creation fails, stop related operations.
5400106 Format Not Supported
Error Message
Unsupport format.
Description
The format is not supported.
Possible Causes
The file format is not supported.
Solution
Use a supported format.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DeviceUsageStatistics Error Codes
harmony 鸿蒙DistributedNotificationService Error Codes
harmony 鸿蒙Distributed Scheduler Error Codes
harmony 鸿蒙Access Control Error Codes
harmony 鸿蒙Accessibility Error Codes
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦