Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::VideoLayout Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| VideoLayout ()

## Public Attributes
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()

agora::VideoLayout::VideoLayout | ( |  | ) |
| inline

## Member Data Documentation

## ◆ channelId

const char* agora::VideoLayout::channelId

Channel Id from which this video stream come from.

## ◆ uid

rtc::uid_t agora::VideoLayout::uid

User id of video stream.

## ◆ strUid

user_id_t agora::VideoLayout::strUid

User account of video stream.

## ◆ x

uint32_t agora::VideoLayout::x

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

## ◆ y

uint32_t agora::VideoLayout::y

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

## ◆ width

uint32_t agora::VideoLayout::width

width of video stream on a transcoded video stream canvas.

## ◆ height

uint32_t agora::VideoLayout::height

height of video stream on a transcoded video stream canvas.

## ◆ videoState

uint32_t agora::VideoLayout::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.