Agora Java API Reference for Android
|
Public Attributes | |
int | uid |
int | x |
int | y |
int | width |
int | height |
int | zOrder |
float | alpha |
int | audioChannel |
The transcodingUser class which defines the video properties of the user displaying the video in the CDN live. Agora supports a maximum of 17 transcoding users in a CDN live streaming channel.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.uid |
ID of the user in the CDN live streaming.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.x |
Horizontal position of the video frame of the user from the top left corner of the CDN live streaming.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.y |
Vertical position of the video frame of the user from the top left corner of the CDN live streaming.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.width |
Width of the video frame of the user on the CDN live streaming. The default value is 360.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.height |
Height of the video frame of the user on the CDN live streaming. The default value is 640.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.zOrder |
The layer index of the video frame. An integer. The value range is [0,100].
Note: If the value is set lower than 0 or higher than 100, the ERR_INVALID_ARGUMENT
error is reported.
float io.agora.rtc.live.LiveTranscoding.TranscodingUser.alpha |
The transparency level of the user's video that ranges between 0.0 and 1.0. 0.0 means that the video frame is completely transparent and 1.0 means opaque. The default value is 1.0.
int io.agora.rtc.live.LiveTranscoding.TranscodingUser.audioChannel |
The audio channel ranging between 0 and 5. The default value is 0.
1
, 2
, 3
, 4
, or 5
, you need to use a special player.