NERtcVideoConfig class Null safety

Video configuration

Constructors

NERtcVideoConfig.By()

Properties

bitrate int
Video bitrate. Unit: kbps. You can manually set the required bitrate based on your business requirements.
read / write
camera ↔ dynamic
read / write
cameraType int
Camera type, supported only on Android
read / write
degradationPrefer int
Video encoding degradation preference when the bandwidth is limited. For more information, see NERtcDegradationPreference. `
read / write
frameRate int
Video frame rate For more information, see NERtcVideoFrameRate.
read / write
front ↔ dynamic
read / write
frontCamera ↔ dynamic
read / write
hashCode int
The hash code for this object.
read-only, inherited
height int
Video encoding resolution, a measure of encoding quality, represented by width x height. You can select this profile or maxProfile. The height represents the pixels of the video frame on the vertical axis. You can enter a custom value.
read / write
minBitrate int
The minimum bitrate of video encoding in kbps. You can manually set the required minimum bitrate based on your business requirements. If the bitrate is set to 0, the SDK computes and processes automatically.
read / write
minFrameRate int
The minimum video frame rate. The default value is 0, which indicates that the minimum frame rate is used by default.
read / write
mirrorMode int
Set the mirror mode for the local video encoding. The mirror mode is used for publishing the local video stream. The setting only affects the video viewed by remote users. For more information, see NERtcVideoMirrorMode.
read / write
orientationMode int
Set the orientation mode of the local video encoding, The orientation mode is used for publishing the local video stream, which only affects the video picture seen by remote users. For more information, see {@link NERtcVideoOutputOrientationMode}.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
The ↔ dynamic
read / write
videoCropMode int
Video cropping mode. The default value is NERtcVideoCropMode.cropDefault. If you use a custom video input, the crop mode is not supported.
read / write
videoProfile int
Video resolution used to measure the video quality. For more information, see NERtcVideoProfile.
read / write
width int
Video encoding resolution, a measure of encoding quality, represented by width x height. You can select this profile or maxProfile. The width represents the pixels of the video frame on the horizontal axis. You can enter a custom value.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator /() → dynamic
operator ==(Object other) bool
The equality operator.
inherited