This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
No memory.
Description
Failed to allocate memory.
Possible Causes
Solution
Destroy this instance and re-create it. If the re-creation fails, stop related operations.
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.
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.
Error Message
Operation timeout.
Description
The operation timed out.
Possible Causes
Solution
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.
Error Message
Unsupported format.
Description
The format is not supported.
Possible Causes
The file format is not supported.
Solution
Use a supported format.
For details about the supported formats, see Media Kit Overview.
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.