VideoStream_Vp9CodecSettings constructor
VideoStream_Vp9CodecSettings({})
Implementation
factory VideoStream_Vp9CodecSettings({
$core.int? widthPixels,
$core.int? heightPixels,
$core.double? frameRate,
$core.int? bitrateBps,
$core.String? pixelFormat,
$core.String? rateControlMode,
$core.int? crfLevel,
$core.int? gopFrameCount,
$10.Duration? gopDuration,
$core.String? profile,
}) {
final $result = create();
if (widthPixels != null) {
$result.widthPixels = widthPixels;
}
if (heightPixels != null) {
$result.heightPixels = heightPixels;
}
if (frameRate != null) {
$result.frameRate = frameRate;
}
if (bitrateBps != null) {
$result.bitrateBps = bitrateBps;
}
if (pixelFormat != null) {
$result.pixelFormat = pixelFormat;
}
if (rateControlMode != null) {
$result.rateControlMode = rateControlMode;
}
if (crfLevel != null) {
$result.crfLevel = crfLevel;
}
if (gopFrameCount != null) {
$result.gopFrameCount = gopFrameCount;
}
if (gopDuration != null) {
$result.gopDuration = gopDuration;
}
if (profile != null) {
$result.profile = profile;
}
return $result;
}