NERtc Unity SDK  V4.5.907
Properties | List of all members
nertc.RtcScreenCaptureParameters Class Reference

Properties

RtcScreenProfileType profile = RtcScreenProfileType.kNERtcScreenProfileHD720P [get, set]
 
RtcVideoDimensions dimensions [get, set]
 
int frameRate = 0 [get, set]
 
int bitrate = 0 [get, set]
 
bool captureMouseCursor = true [get, set]
 
bool windowFocus = true [get, set]
 
IntPtr[] excludedWindowList [get, set]
 
RtcSubStreamContentPrefer prefer = RtcSubStreamContentPrefer.kNERtcSubStreamContentPreferDetails [get, set]
 

Detailed Description

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

Property Documentation

◆ profile

RtcScreenProfileType nertc.RtcScreenCaptureParameters.profile = RtcScreenProfileType.kNERtcScreenProfileHD720P
getset

Configuration parameters for screen sharing encoding.

◆ dimensions

RtcVideoDimensions nertc.RtcScreenCaptureParameters.dimensions
getset

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

◆ frameRate

int nertc.RtcScreenCaptureParameters.frameRate = 0
getset

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.

◆ bitrate

int nertc.RtcScreenCaptureParameters.bitrate = 0
getset

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.

◆ captureMouseCursor

bool nertc.RtcScreenCaptureParameters.captureMouseCursor = true
getset

Determines whether to capture the mouse during screen sharing.

◆ windowFocus

bool nertc.RtcScreenCaptureParameters.windowFocus = true
getset

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

◆ excludedWindowList

IntPtr [] nertc.RtcScreenCaptureParameters.excludedWindowList
getset

ID list of windows to be blocked.

◆ prefer

Encoding strategy preference.


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