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.
DTS2025010983858
quetsion one
Test DTS2025010983858 quesiton one
- list-One according UserAgent {OSName} and {OSVersion} recognise OpenHarmonyOS.The format: OpenHarmony + Vesion
const matches = navigator.userAgent.match(/OpenHarmony (\d+\.?\d*)/);
matches?.length && Number(matches[1]) >= 5;
- list-Two according UserAgent {OSName} recognise OpenHarmonyOS.
const isOpenHarmony = () => /OpenHarmony/i.test(navigator.userAgent);
question two
Test DTS2025010983858 quesiton two
Table 1 |Name|age|city| |—|—|—| |formVisibleNotify|15|beijing| |transparencyEnabled|18|shagnhai| |fontScaleFollowSystem|20|London|
Table 2 |Name|age|city| |—|—|—| |fontScaleFollowSystem|20|London| |formVisibleNotify|15|beijing| |transparencyEnabled|18|shagnhai| |fontScaleFollowSystemeternal|25|Pairs|
List-One Table 3 |Name|age|city| |—|—|—| |formVisibleNotify|15|beijing| |transparencyEnabled|18|shagnhai| |fontScaleFollowSystem|20|London|
List-One Table 4 |Name|age|city| |—|—|—| |fontScaleFollowSystem|20|London| |formVisibleNotify|15|beijing| |transparencyEnabled|18|shagnhai| |fontScaleFollowSystemeternal|25|Pairs|
List-Three
ul-list-1 Table 5 |Name|age|city| |—|—|—| |formVisibleNotify|15|beijing| |transparencyEnabled|18|shagnhai| |fontScaleFollowSystem|20|London|
ul-list-2 Table 6 |Name|age|city| |—|—|—| |fontScaleFollowSystem|20|London| |formVisibleNotify|15|beijing| |transparencyEnabled|18|shagnhai| |fontScaleFollowSystemeternal|25|Pairs|
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
Unsupported format.
Description
The format is not supported.
Possible Causes
The file format is not supported.
Solution
Use a supported format.
5400107 Audio Focus Conflict
Error Message
Audio interrupted.
Description
Recording fails due to audio focus conflicts.
Possible Causes
Another process occupies the audio focus.
Solution
Destroy the current instance and check whether another process is recording. If you can stop the other process, you can create the current instance again.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙OpenHarmony Docker镜像
harmony 鸿蒙OpenHarmony Docker Image
harmony 鸿蒙IDL Specifications and User Guide (for System Applications Only)
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦