NERtc Windows SDK  V5.5.40
Public 属性 | 所有成员列表
nertc::NERtcLiveStreamLayout结构体 参考

#include <nertc_engine_defines.h>

Public 属性

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

详细描述

直播布局

类成员变量说明

◆ background_color

unsigned int nertc::NERtcLiveStreamLayout::background_color

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

◆ bg_image

NERtcLiveStreamImageInfo* nertc::NERtcLiveStreamLayout::bg_image

详细信息请参考 NERtcLiveStreamImageInfo。

◆ bg_image_count

int nertc::NERtcLiveStreamLayout::bg_image_count

图片布局个数。

◆ height

int nertc::NERtcLiveStreamLayout::height

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

◆ user_count

unsigned int nertc::NERtcLiveStreamLayout::user_count

成员布局个数。

◆ users

NERtcLiveStreamUserTranscoding* nertc::NERtcLiveStreamLayout::users

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

◆ width

int nertc::NERtcLiveStreamLayout::width

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


该结构体的文档由以下文件生成: