The definition of the TranscodingUser struct.
◆ TranscodingUser()
agora::rtc::TranscodingUser::TranscodingUser |
( |
| ) |
|
|
inline |
◆ uid
uid_t agora::rtc::TranscodingUser::uid |
User ID of the CDN live streaming.
int agora::rtc::TranscodingUser::x |
The horizontal position of the top left corner of the video frame.
int agora::rtc::TranscodingUser::y |
The vertical position of the top left corner of the video frame.
◆ width
int agora::rtc::TranscodingUser::width |
The width of the video frame.
◆ height
int agora::rtc::TranscodingUser::height |
The height of the video frame.
◆ zOrder
int agora::rtc::TranscodingUser::zOrder |
The layer of the video frame that ranges from 1 to 100:
- 1: (Default) The lowest layer.
- 100: The highest layer.
◆ alpha
double agora::rtc::TranscodingUser::alpha |
The transparency of the video frame.
◆ audioChannel
int agora::rtc::TranscodingUser::audioChannel |
The audio channel of the sound that ranges from 0 to 5. Special players are needed if it is not set as 0.
- 0: (default) Supports dual channels at most, depending on the upstream of the broadcaster.
- 1: The audio stream of the broadcaster is in the FL audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
- 2: The audio stream of the broadcaster is in the FC audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
- 3: The audio stream of the broadcaster is in the FR audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
- 4: The audio stream of the broadcaster is in the BL audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
- 5: The audio stream of the broadcaster is in the BR audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.