Video SDK v3.7.1 API Reference for Unity
|
Public Attributes | |
uint | uid |
int | x |
int | y |
int | width |
int | height |
int | zOrder |
double | alpha |
int | audioChannel |
The video properties of the user displaying the video in the CDN live. Agora supports a maximum of 17 transcoding users in a CDN streaming channel.
uint agora_gaming_rtc.TranscodingUser.uid |
User ID of the user displaying the video in the CDN live.
int agora_gaming_rtc.TranscodingUser.x |
Horizontal position from the top left corner of the video frame.
int agora_gaming_rtc.TranscodingUser.y |
Vertical position from the top left corner of the video frame.
int agora_gaming_rtc.TranscodingUser.width |
Width of the video frame. The default value is 360.
int agora_gaming_rtc.TranscodingUser.height |
Height of the video frame. The default value is 640.
int agora_gaming_rtc.TranscodingUser.zOrder |
The layer index of the video frame. An integer. The value range is [0, 100].
ERR_INVALID_ARGUMENT(-2)
.double agora_gaming_rtc.TranscodingUser.alpha |
The transparency level of the user's video. The value ranges between 0 and 1.0:
int agora_gaming_rtc.TranscodingUser.audioChannel |
The audio channel of the sound. The default value is 0: