The error code.
| Enumerator |
|---|
| PLAYER_ERROR_NONE | 0: No error.
|
| PLAYER_ERROR_INVALID_ARGUMENTS | -1: Invalid arguments.
|
| PLAYER_ERROR_INTERNAL | -2: Internal error.
|
| PLAYER_ERROR_NO_RESOURCE | -3: No resource.
|
| PLAYER_ERROR_INVALID_MEDIA_SOURCE | -4: Invalid media resource.
|
| PLAYER_ERROR_UNKNOWN_STREAM_TYPE | -5: The type of the media stream is unknown.
|
| PLAYER_ERROR_OBJ_NOT_INITIALIZED | -6: The object is not initialized.
|
| PLAYER_ERROR_CODEC_NOT_SUPPORTED | -7: The codec is not supported.
|
| PLAYER_ERROR_VIDEO_RENDER_FAILED | -8: Invalid renderer.
|
| PLAYER_ERROR_INVALID_STATE | -9: Error occurs in the internal state of the player.
|
| PLAYER_ERROR_URL_NOT_FOUND | -10: The URL of the media resource can not be found.
|
| PLAYER_ERROR_INVALID_CONNECTION_STATE | -11: Invalid connection between the player and Agora's Server.
|
| PLAYER_ERROR_SRC_BUFFER_UNDERFLOW | -12: The playback buffer is insufficient.
|