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

#include <nertc_engine_defines.h>

Public 属性

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

详细描述

The live streaming layout.

类成员变量说明

◆ background_color

unsigned int nertc::NERtcLiveStreamLayout::background_color

The background color of the canvas. The value of the background color is the sum of 256 x 256 x R + 256 x G + B. Enter the corresponding RGB values into this formula to calculate the value. If the value is unspecified, the default value is 0.

◆ bg_image

NERtcLiveStreamImageInfo* nertc::NERtcLiveStreamLayout::bg_image

For more information, see NERtcLiveStreamImageInfo.

◆ height

int nertc::NERtcLiveStreamLayout::height

The height of the overall canvas. Unit: - true: 0 to 1920. If the specified value is set to an odd value, the value is automatically rounded down to an even number.

◆ user_count

unsigned int nertc::NERtcLiveStreamLayout::user_count

The member layout in live streaming.

◆ users

NERtcLiveStreamUserTranscoding* nertc::NERtcLiveStreamLayout::users

The member layout array. For more information, see NERtcLiveStreamUserTranscoding.

◆ width

int nertc::NERtcLiveStreamLayout::width

The width of the overall canvas. Unit: px. Value range: 0 to 1920. If the specified value is set to an odd value, the value is automatically rounded down to an even number.


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