NERtc Windows SDK
Public Attributes | List of all members
nertc::NERtcLiveStreamLayout Struct Reference

#include <nertc_engine_defines.h>

Public Attributes

int width
 
int height
 
unsigned int background_color
 
unsigned int user_count
 
NERtcLiveStreamUserTranscodingusers
 
NERtcLiveStreamImageInfobg_image
 

Detailed Description

直播布局

Member Data Documentation

unsigned int nertc::NERtcLiveStreamLayout::background_color

画面背景颜色,格式为 256 x 256 x R + 256 x G + B的和。请将对应 RGB 的值分别带入此公式计算即可。若未设置,则默认为0。

NERtcLiveStreamImageInfo* nertc::NERtcLiveStreamLayout::bg_image

详细信息请参考 NERtcLiveStreamImageInfo。

int nertc::NERtcLiveStreamLayout::height

整体画布的高度,单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶。

unsigned int nertc::NERtcLiveStreamLayout::user_count

成员布局个数。

NERtcLiveStreamUserTranscoding* nertc::NERtcLiveStreamLayout::users

成员布局数组,详细信息请参考 NERtcLiveStreamUserTranscoding。

int nertc::NERtcLiveStreamLayout::width

整体画布的宽度,单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶。


The documentation for this struct was generated from the following file: