VideoEncoderConfig constructor
VideoEncoderConfig({
- AlphaOption? alpha,
- AvcEncoderConfig? avc,
- num? bitrate,
- VideoEncoderBitrateMode? bitrateMode,
- String? codec,
- num? displayHeight,
- num? displayWidth,
- num? framerate,
- HardwareAcceleration? hardwareAcceleration,
- num? height,
- LatencyMode? latencyMode,
- String? scalabilityMode,
- num? width,
Implementation
factory VideoEncoderConfig({
_i3.AlphaOption? alpha,
_i3.AvcEncoderConfig? avc,
_i2.num? bitrate,
_i3.VideoEncoderBitrateMode? bitrateMode,
_i2.String? codec,
_i2.num? displayHeight,
_i2.num? displayWidth,
_i2.num? framerate,
_i3.HardwareAcceleration? hardwareAcceleration,
_i2.num? height,
_i3.LatencyMode? latencyMode,
_i2.String? scalabilityMode,
_i2.num? width,
}) =>
VideoEncoderConfig._(
alpha: alpha?.name ?? _i6.undefined,
avc: avc ?? _i6.undefined,
bitrate: bitrate,
bitrateMode: bitrateMode?.name ?? _i6.undefined,
codec: codec,
displayHeight: displayHeight,
displayWidth: displayWidth,
framerate: framerate,
hardwareAcceleration: hardwareAcceleration?.name ?? _i6.undefined,
height: height,
latencyMode: latencyMode?.name ?? _i6.undefined,
scalabilityMode: scalabilityMode,
width: width,
);