Agora Java API Reference for Android
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
io.agora.rte.media.media_player.AgoraRteMediaPlayerError Enum Reference

Public Member Functions

int getValue ()
 

Static Public Member Functions

static AgoraRteMediaPlayerError valueOf (int v)
 

Public Attributes

 PLAYER_ERROR_NONE =(0)
 
 PLAYER_ERROR_INVALID_ARGUMENTS =(-1)
 
 PLAYER_ERROR_INTERNAL =(-2)
 
 PLAYER_ERROR_NO_RESOURCE =(-3)
 
 PLAYER_ERROR_INVALID_MEDIA_SOURCE =(-4)
 
 PLAYER_ERROR_UNKNOWN_STREAM_TYPE =(-5)
 
 PLAYER_ERROR_OBJ_NOT_INITIALIZED =(-6)
 
 PLAYER_ERROR_CODEC_NOT_SUPPORTED =(-7)
 
 PLAYER_ERROR_VIDEO_RENDER_FAILED =(-8)
 
 PLAYER_ERROR_INVALID_STATE =(-9)
 
 PLAYER_ERROR_URL_NOT_FOUND =(-10)
 
 PLAYER_ERROR_INVALID_CONNECTION_STATE =(-11)
 
 PLAY_ERROR_SRC_BUFFER_UNDERFLOW =(-12)
 
 PLAYER_ERROR_UNKNOWN =(-100)
 

Member Data Documentation

◆ PLAYER_ERROR_NONE

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_NONE =(0)

No error

◆ PLAYER_ERROR_INVALID_ARGUMENTS

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_INVALID_ARGUMENTS =(-1)

The parameter is incorrect

◆ PLAYER_ERROR_INTERNAL

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_INTERNAL =(-2)

Internel error

◆ PLAYER_ERROR_NO_RESOURCE

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_NO_RESOURCE =(-3)

No resource error

◆ PLAYER_ERROR_INVALID_MEDIA_SOURCE

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_INVALID_MEDIA_SOURCE =(-4)

Media source is invalid

◆ PLAYER_ERROR_UNKNOWN_STREAM_TYPE

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_UNKNOWN_STREAM_TYPE =(-5)

Unknown stream type

◆ PLAYER_ERROR_OBJ_NOT_INITIALIZED

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_OBJ_NOT_INITIALIZED =(-6)

Object is not initialized

◆ PLAYER_ERROR_CODEC_NOT_SUPPORTED

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_CODEC_NOT_SUPPORTED =(-7)

Decoder codec not supported

◆ PLAYER_ERROR_VIDEO_RENDER_FAILED

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_VIDEO_RENDER_FAILED =(-8)

Video renderer is invalid

◆ PLAYER_ERROR_INVALID_STATE

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_INVALID_STATE =(-9)

Internal state error

◆ PLAYER_ERROR_URL_NOT_FOUND

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_URL_NOT_FOUND =(-10)

Url not found

◆ PLAYER_ERROR_INVALID_CONNECTION_STATE

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_INVALID_CONNECTION_STATE =(-11)

Invalid connection state

◆ PLAY_ERROR_SRC_BUFFER_UNDERFLOW

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAY_ERROR_SRC_BUFFER_UNDERFLOW =(-12)

Insufficient buffer data

◆ PLAYER_ERROR_UNKNOWN

io.agora.rte.media.media_player.AgoraRteMediaPlayerError.PLAYER_ERROR_UNKNOWN =(-100)

Error unknown