MediaPlayerError, reporting the player's error code.
◆ PLAYER_ERROR_NONE
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_NONE =(0) |
◆ PLAYER_ERROR_INVALID_ARGUMENTS
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_INVALID_ARGUMENTS =(-1) |
◆ PLAYER_ERROR_INTERNAL
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_INTERNAL =(-2) |
◆ PLAYER_ERROR_NO_RESOURCE
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_NO_RESOURCE =(-3) |
◆ PLAYER_ERROR_INVALID_MEDIA_SOURCE
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_INVALID_MEDIA_SOURCE =(-4) |
-4
: Invalid media resource.
◆ PLAYER_ERROR_UNKNOWN_STREAM_TYPE
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_UNKNOWN_STREAM_TYPE =(-5) |
-5
: The type of the media stream is unknown.
◆ PLAYER_ERROR_OBJ_NOT_INITIALIZED
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_OBJ_NOT_INITIALIZED =(-6) |
-6
: The object is not initialized.
◆ PLAYER_ERROR_CODEC_NOT_SUPPORTED
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_CODEC_NOT_SUPPORTED =(-7) |
-7
: The codec is not supported.
◆ PLAYER_ERROR_VIDEO_RENDER_FAILED
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_VIDEO_RENDER_FAILED =(-8) |
◆ PLAYER_ERROR_INVALID_STATE
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_INVALID_STATE =(-9) |
-9
: Error occurs in the internal state of the player.
◆ PLAYER_ERROR_URL_NOT_FOUND
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_URL_NOT_FOUND =(-10) |
-10
: The URL of the media resource can not be found.
◆ PLAYER_ERROR_INVALID_CONNECTION_STATE
io.agora.mediaplayer.Constants.MediaPlayerError.PLAYER_ERROR_INVALID_CONNECTION_STATE =(-11) |
-11
: Invalid connection between the player and Agora's Server.
◆ PLAY_ERROR_SRC_BUFFER_UNDERFLOW
io.agora.mediaplayer.Constants.MediaPlayerError.PLAY_ERROR_SRC_BUFFER_UNDERFLOW =(-12) |
-12
: The playback buffer is insufficient.