RCCallVideoConfig.create constructor

RCCallVideoConfig.create({
  1. RCCallVideoProfile profile = RCCallVideoProfile.profile_480_640_high,
  2. RCCallCamera defaultCamera = RCCallCamera.front,
  3. RCCallCameraOrientation cameraOrientation = RCCallCameraOrientation.portrait,
  4. bool enableHardwareDecoder = true,
  5. int hardwareDecoderColor = -1,
  6. bool enableHardwareEncoder = true,
  7. bool enableHardwareEncoderHighProfile = true,
  8. bool enableEncoderTexture = true,
  9. int hardWareEncoderColor = -1,
  10. int hardWareEncoderFrameRate = 30,
  11. RCCallVideoBitrateMode hardwareEncoderBitrateMode = RCCallVideoBitrateMode.cbr,
  12. bool previewMirror = true,
})

Implementation

RCCallVideoConfig.create({
  this.profile = RCCallVideoProfile.profile_480_640_high,
  this.defaultCamera = RCCallCamera.front,
  this.cameraOrientation = RCCallCameraOrientation.portrait,
  this.enableHardwareDecoder = true,
  this.hardwareDecoderColor = -1,
  this.enableHardwareEncoder = true,
  this.enableHardwareEncoderHighProfile = true,
  this.enableEncoderTexture = true,
  this.hardWareEncoderColor = -1,
  this.hardWareEncoderFrameRate = 30,
  this.hardwareEncoderBitrateMode = RCCallVideoBitrateMode.cbr,
  this.previewMirror = true,
});