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

Data Fields

const char * channelId
 
rtc::uid_t uid
 
user_id_t strUid
 
uint32_t x
 
uint32_t y
 
uint32_t width
 
uint32_t height
 
uint32_t videoState
 

Detailed Description

Layout info of video stream which compose a transcoder video stream.

Constructor & Destructor Documentation

◆ VideoLayout()

VideoLayout ( )
inline

Field Documentation

◆ channelId

const char* channelId

Channel Id from which this video stream come from.

◆ uid

User id of video stream.

◆ strUid

user_id_t strUid

User account of video stream.

◆ x

uint32_t x

x coordinate of video stream on a transcoded video stream canvas.

◆ y

uint32_t y

y coordinate of video stream on a transcoded video stream canvas.

◆ width

uint32_t width

width of video stream on a transcoded video stream canvas.

◆ height

uint32_t height

height of video stream on a transcoded video stream canvas.

◆ videoState

uint32_t videoState

video state of video stream on a transcoded video stream canvas. 0 for normal video , 1 for placeholder image showed , 2 for black image.