ErrorCode

Status and error codes.

Since
v4.5.0

Enumerator

OK
0: Operation successful.
DEFAULT
1: General error with no classified reason.
INVALID_ARGUMENT
2: An invalid parameter is used. For example, the parameters contain illegal characters, or the object passed in is null. Reset the parameter.
INVALID_OPERATION
3: The current state does not support the operation, such as when an object has already been destroyed or is invalid.
NETWORK_ERROR
4: Network error. Check your network connection.
AUTHENTICATION_FAILED
5: Token authentication failed. Possible reasons include an invalid token or an expired token. Check your token.
STREAM_NOT_FOUND
6: The media stream could not be found. For example, after entering a channel, if no media stream has been received from the host for more than 10 seconds.