VideoConfiguration constructor

VideoConfiguration({
  1. num? bitrate,
  2. ColorGamut? colorGamut,
  3. String? contentType,
  4. num? framerate,
  5. HdrMetadataType? hdrMetadataType,
  6. num? height,
  7. String? scalabilityMode,
  8. TransferFunction? transferFunction,
  9. num? width,
})

Implementation

factory VideoConfiguration({
  _i2.num? bitrate,
  _i3.ColorGamut? colorGamut,
  _i2.String? contentType,
  _i2.num? framerate,
  _i3.HdrMetadataType? hdrMetadataType,
  _i2.num? height,
  _i2.String? scalabilityMode,
  _i3.TransferFunction? transferFunction,
  _i2.num? width,
}) =>
    VideoConfiguration._(
      bitrate: bitrate,
      colorGamut: colorGamut?.name ?? _i6.undefined,
      contentType: contentType,
      framerate: framerate,
      hdrMetadataType: hdrMetadataType?.name ?? _i6.undefined,
      height: height,
      scalabilityMode: scalabilityMode,
      transferFunction: transferFunction?.name ?? _i6.undefined,
      width: width,
    );