RCCallVideoConfig.create constructor
RCCallVideoConfig.create({
- RCCallVideoProfile profile = RCCallVideoProfile.profile_480_640_high,
- RCCallCamera defaultCamera = RCCallCamera.front,
- RCCallCameraOrientation cameraOrientation = RCCallCameraOrientation.portrait,
- bool enableHardwareDecoder = true,
- int hardwareDecoderColor = -1,
- bool enableHardwareEncoder = true,
- bool enableHardwareEncoderHighProfile = true,
- bool enableEncoderTexture = true,
- int hardWareEncoderColor = -1,
- int hardWareEncoderFrameRate = 30,
- RCCallVideoBitrateMode hardwareEncoderBitrateMode = RCCallVideoBitrateMode.cbr,
- 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,
});