harmony 鸿蒙Media Error Codes

  • 2022-12-22
  • 浏览 (666)

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

  1. The number of instances exceeds 16.
  2. 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

  1. The network connection times out. (The default network timeout period is 15 seconds, and the timer starts after the buffered event is reported.)
  2. Accessing other modules times out.

Solution

  1. Check whether the network is normal.
  2. 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 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞