TRTCVideoEncParam constructor

TRTCVideoEncParam(
  1. {int videoBitrate = 200,
  2. int videoResolution = 60,
  3. int videoResolutionMode = 1,
  4. int videoFps = 10,
  5. int minVideoBitrate = 200,
  6. bool enableAdjustRes = false}
)

Implementation

TRTCVideoEncParam(
    {this.videoBitrate = 200,
    this.videoResolution = 60, // TRTC_VIDEO_RESOLUTION_480_360
    this.videoResolutionMode = 1, // TRTC_VIDEO_RESOLUTION_MODE_PORTRAIT
    this.videoFps = 10,
    this.minVideoBitrate = 200,
    this.enableAdjustRes = false});