NERtc Windows SDK
V4.4.301
|
#include <nertc_engine_defines.h>
The video encoding profile configuration.
uint32_t nertc::NERtcVideoConfig::bitrate |
Video encoding bitrate (kbps), use the default value if the setting is set to 0.
NERtcVideoCropMode nertc::NERtcVideoConfig::crop_mode_ |
Video crop mode, aspect ratio. The default value is kNERtcVideoCropModeDefault. For more information, see NERtcVideoCropMode.
NERtcDegradationPreference nertc::NERtcVideoConfig::degradation_preference |
Video encoding degradation preference when the bandwidth is limited. For more information, see NERtcDegradationPreference.
NERtcVideoFramerateType nertc::NERtcVideoConfig::framerate |
The frame rate of the bigstream video encoding. For more information, see NERtcVideoFramerateType. By default, the frame rate is determined based on maxProfile.
uint32_t nertc::NERtcVideoConfig::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.
If the width and height of the custom video input are invalid, the width and height are automatically scaled based on maxProfile.
NERtcVideoProfileType nertc::NERtcVideoConfig::max_profile |
The resolution of video encoding used to measure encoding quality. For more information, see NERtcVideoProfileType.
uint32_t nertc::NERtcVideoConfig::min_bitrate |
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.
NERtcVideoFramerateType nertc::NERtcVideoConfig::min_framerate |
The minimum frame rate for video encoding. The default value is 0, which indicates that the minimum frame rate is used by default
NERtcVideoMirrorMode nertc::NERtcVideoConfig::mirror_mode |
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.
NERtcVideoOutputOrientationMode nertc::NERtcVideoConfig::orientation_mode |
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.
uint32_t nertc::NERtcVideoConfig::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.
If the width and height of the custom video input are invalid, the width and height are automatically scaled based on maxProfile.