NERtc Unity SDK
V4.5.907
|
The video encoding profile configuration.
RtcVideoProfileType nertc.RtcVideoConfig.maxProfile |
The resolution of video encoding used to measure encoding quality. For more information, see RtcVideoProfileType
uint nertc.RtcVideoConfig.width |
Video encoding resolution, an indicator of encoding quality, is 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 width.
uint nertc.RtcVideoConfig.height |
Video encoding resolution, an indicator of encoding quality, is 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 height.
RtcVideoCropMode nertc.RtcVideoConfig.cropMode |
Video crop mode, aspect ratio. The default value is kNERtcVideoCropModeDefault. For more information, see NERtcVideoCropMode.
RtcVideoFramerateType nertc.RtcVideoConfig.framerate |
The frame rate of the mainstream video encoding. For more information, see RtcVideoFramerateType . By default, the frame rate is determined based on maxProfile.
RtcVideoFramerateType nertc.RtcVideoConfig.minFramerate |
The minimum frame rate for video encoding. The default value is 0, which indicates that the minimum frame rate is used by default
uint nertc.RtcVideoConfig.bitrate |
Video encoding bitrate (kbps), use the default value if the setting is set to 0.
uint nertc.RtcVideoConfig.minBitrate |
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.
RtcDegradationPreference nertc.RtcVideoConfig.degradationPreference |
Video encoding degradation preference when the bandwidth is limited. For more information, see RtcDegradationPreference .
RtcVideoMirrorMode nertc.RtcVideoConfig.mirrorMode |
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 picture seen by remote users.
RtcVideoOrientationMode nertc.RtcVideoConfig.orientationMode |
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.