NERTC macOS/Windows SDK V5.8.10
载入中...
搜索中...
未找到
nertc::NERtcLocalRecordingLayoutConfig结构体 参考

#include <nertc_engine_defines.h>

Public 属性

int offset_x = 0
 
int offset_y = 0
 
int width = 0
 
int height = 0
 
NERtcVideoScalingMode scaling_mode = kNERtcVideoScaleFullFill
 
NERtcVideoWatermarkConfigwatermark_list = nullptr
 
int watermark_count = 0
 
bool is_screen_share = false
 
uint32_t bg_color = 0
 

详细描述

录制视频窗口流的布局配置

类成员变量说明

◆ bg_color

uint32_t nertc::NERtcLocalRecordingLayoutConfig::bg_color = 0

录制视频窗口的背景颜色 ARGB格式,其中A无效, 默认渲染为黑色0xFF000000, 0为不设置

◆ height

int nertc::NERtcLocalRecordingLayoutConfig::height = 0

流在录制视频窗口的分辨率高度

◆ is_screen_share

bool nertc::NERtcLocalRecordingLayoutConfig::is_screen_share = false

是否是屏幕共享流

◆ offset_x

int nertc::NERtcLocalRecordingLayoutConfig::offset_x = 0

流在录制视频窗口的偏移宽度

◆ offset_y

int nertc::NERtcLocalRecordingLayoutConfig::offset_y = 0

流在录制视频窗口的偏移高度

◆ scaling_mode

NERtcVideoScalingMode nertc::NERtcLocalRecordingLayoutConfig::scaling_mode = kNERtcVideoScaleFullFill

流在录制视频窗口的缩放模式

◆ watermark_count

int nertc::NERtcLocalRecordingLayoutConfig::watermark_count = 0

录制水印数量

◆ watermark_list

NERtcVideoWatermarkConfig* nertc::NERtcLocalRecordingLayoutConfig::watermark_list = nullptr

录制水印配置

◆ width

int nertc::NERtcLocalRecordingLayoutConfig::width = 0

流在录制视频窗口的分辨率宽度


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