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

#include <nertc_engine_defines.h>

Public 属性

NERtcScreenProfileType profile
 
NERtcVideoDimensions dimensions
 
int frame_rate
 
int bitrate
 
bool capture_mouse_cursor
 
bool window_focus
 
source_id_texcluded_window_list
 
int excluded_window_count
 
NERtcSubStreamContentPrefer prefer
 

详细描述

Configuration parameters for screen sharing encoding. The setting is used to measure encoding quality.

类成员变量说明

◆ bitrate

int nertc::NERtcScreenCaptureParameters::bitrate

The bitrate of the shared video in kbps. The default value is 0, which indicates that the SDK calculates a reasonable value based on the resolution of the current shared screen.

◆ capture_mouse_cursor

bool nertc::NERtcScreenCaptureParameters::capture_mouse_cursor

Determines whether to capture the mouse during screen sharing.

◆ dimensions

NERtcVideoDimensions nertc::NERtcScreenCaptureParameters::dimensions

The maximum pixel value sent by screen sharing video. The value is valid in kNERtcScreenProfileCustom.

◆ excluded_window_count

int nertc::NERtcScreenCaptureParameters::excluded_window_count

The number of windows to be blocked.

◆ excluded_window_list

source_id_t* nertc::NERtcScreenCaptureParameters::excluded_window_list

ID list of windows to be blocked.

◆ frame_rate

int nertc::NERtcScreenCaptureParameters::frame_rate

The frame rate of the shared video.The value is valid in kNERtcScreenProfileCustom, and the unit is fps. The default value is 5. A value more than 15 is not recommended.

◆ prefer

NERtcSubStreamContentPrefer nertc::NERtcScreenCaptureParameters::prefer

Encoding strategy preference.

◆ profile

NERtcScreenProfileType nertc::NERtcScreenCaptureParameters::profile

Configuration parameters for screen sharing encoding.

◆ window_focus

bool nertc::NERtcScreenCaptureParameters::window_focus

Determing whether to bing the window to the front when you call the startScreenCaptureByWindowId method to share a window.


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