VideoStream_Vp9CodecSettings constructor

VideoStream_Vp9CodecSettings({
  1. int? widthPixels,
  2. int? heightPixels,
  3. double? frameRate,
  4. int? bitrateBps,
  5. String? pixelFormat,
  6. String? rateControlMode,
  7. int? crfLevel,
  8. int? gopFrameCount,
  9. Duration? gopDuration,
  10. String? profile,
})

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;
}