This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Invalid parameter.
Description
A parameter passed in the API is invalid.
Possible Causes
The parameter is invalid. For example, the parameter value is not within the range supported.
Solution
Pass the correct parameters in the API.
Error Message
Memory allocation failed.
Description
When the API is called, the memory fails to be allocated or a null pointer occurs.
Possible Causes
Solution
Error Message
Operation not permitted at current state.
Description
The current state of the object does not support this operation.
Possible Causes
The operation is not supported in the current state of the object, for example, attempting to play data without starting the stream.
Solution
Error Message
Unsupported option.
Description
The parameter value is not supported.
Possible Causes
The value of the input parameter is not within the range supported.
Solution
Error Message
Timeout.
Description
The processing times out.
Possible Causes
Solution
Error Message
Too many audio streams.
Description
The number of audio streams reaches the upper limit.
Possible Causes
Excess audio streams are not released in a timely manner.
Solution
Error Message
System error.
Description
The system processing is abnormal.
Possible Causes
The system processing is abnormal, for example, system service restart or IPC exceptions.
Solution
This is a general internal system error with unclear circumstances. You are advised to try re-creating the service process or directly report a system error.