Agora Java API Reference for Android
|
Classes | |
enum | AudioCodecProfileType |
enum | AudioSampleRateType |
class | TranscodingUser |
enum | VideoCodecProfileType |
Public Member Functions | |
void | addWatermark (AgoraImage watermark) |
boolean | removeWatermark (AgoraImage watermark) |
ArrayList< AgoraImage > | getWatermarkList () |
void | addBackgroundImage (AgoraImage backgroundImage) |
boolean | removeBackgroundImage (AgoraImage backgroundImage) |
ArrayList< AgoraImage > | getBackgroundImageList () |
int | addUser (TranscodingUser user) |
final ArrayList< TranscodingUser > | getUsers () |
void | setUsers (ArrayList< TranscodingUser > users) |
void | setUsers (Map< Integer, TranscodingUser > users) |
int | removeUser (int uid) |
int | getUserCount () |
int | getBackgroundColor () |
void | setBackgroundColor (int color) |
void | setBackgroundColor (int red, int green, int blue) |
int | getRed () |
int | getGreen () |
int | getBlue () |
void | setRed (int red) |
void | setGreen (int green) |
void | setBlue (int blue) |
Public Attributes | |
int | width |
int | height |
int | videoBitrate |
int | videoFramerate |
boolean | lowLatency |
int | videoGop |
AgoraImage | watermark |
AgoraImage | backgroundImage |
AudioSampleRateType | audioSampleRate |
int | audioBitrate |
int | audioChannels |
AudioCodecProfileType | audioCodecProfile |
VideoCodecProfileType | videoCodecProfile |
int | userCount |
int | backgroundColor |
String | userConfigExtraInfo |
String | metadata |
void io.agora.rtc2.live.LiveTranscoding.addWatermark | ( | AgoraImage | watermark | ) |
add watermark to list
watermark | you want to add watermark. |
boolean io.agora.rtc2.live.LiveTranscoding.removeWatermark | ( | AgoraImage | watermark | ) |
remove watermark from list
watermark | you want to remove object. |
ArrayList<AgoraImage> io.agora.rtc2.live.LiveTranscoding.getWatermarkList | ( | ) |
get object attribute of watermarkList
void io.agora.rtc2.live.LiveTranscoding.addBackgroundImage | ( | AgoraImage | backgroundImage | ) |
add background image to backgroundImageList
backgroundImage | you want to add background to list. |
boolean io.agora.rtc2.live.LiveTranscoding.removeBackgroundImage | ( | AgoraImage | backgroundImage | ) |
remove background from background image list
backgroundImage | you want to remove background image |
ArrayList<AgoraImage> io.agora.rtc2.live.LiveTranscoding.getBackgroundImageList | ( | ) |
get object attribute of backgroundImageList
AudioCodecProfileType io.agora.rtc2.live.LiveTranscoding.audioCodecProfile |
Audio codec profile type: AudioCodecProfileType. Set it as LC-AAC or HE-AAC. The default value is LC-AAC.