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

#include <nertc_engine_defines.h>

Public Attributes

NERtcScreenProfileType profile
 
NERtcVideoDimensions dimensions
 
int frame_rate
 
int bitrate
 
bool capture_mouse_cursor
 
bool window_focus
 
void * excluded_window_list
 
int excluded_window_count
 
NERtcSubStreamContentPrefer prefer
 

Detailed Description

屏幕共享编码参数配置。用于衡量编码质量。

Member Data Documentation

int nertc::NERtcScreenCaptureParameters::bitrate

共享视频的码率,单位为 bps;默认值为 0,表示 SDK 根据当前共享屏幕的分辨率计算出一个合理的值。

bool nertc::NERtcScreenCaptureParameters::capture_mouse_cursor

是否采集鼠标用于屏幕共享。

NERtcVideoDimensions nertc::NERtcScreenCaptureParameters::dimensions

屏幕共享视频发送的最大像素值,kNERtcScreenProfileCustom下生效。

int nertc::NERtcScreenCaptureParameters::excluded_window_count

待屏蔽窗口的数量。

void* nertc::NERtcScreenCaptureParameters::excluded_window_list

待屏蔽窗口的 ID 列表。

int nertc::NERtcScreenCaptureParameters::frame_rate

共享视频的帧率,kNERtcScreenProfileCustom下生效,单位为 fps;默认值为 5,建议不要超过 15。

NERtcSubStreamContentPrefer nertc::NERtcScreenCaptureParameters::prefer

编码策略倾向。

NERtcScreenProfileType nertc::NERtcScreenCaptureParameters::profile

屏幕共享编码参数配置。

bool nertc::NERtcScreenCaptureParameters::window_focus

调用 startScreenCaptureByWindowId 方法共享窗口时,是否将该窗口前置。


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