Agora RTC Objective-C API Reference  Refactor
Data Fields
TranscodingUser Struct Reference

Data Fields

uid_t uid
 
int x
 
int y
 
int width
 
int height
 
int zOrder
 
double alpha
 
int audioChannel
 

Detailed Description

The definition of the TranscodingUser struct.

Constructor & Destructor Documentation

◆ TranscodingUser()

TranscodingUser ( )
inline

Field Documentation

◆ uid

uid_t uid

User ID of the CDN live streaming.

◆ x

int x

The horizontal position of the top left corner of the video frame.

◆ y

int y

The vertical position of the top left corner of the video frame.

◆ width

int width

The width of the video frame.

◆ height

int height

The height of the video frame.

◆ zOrder

int zOrder

The layer of the video frame that ranges from 1 to 100:

  • 1: (Default) The lowest layer.
  • 100: The highest layer.

◆ alpha

double alpha

The transparency of the video frame.

◆ audioChannel

int 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.