Format.createVideoContainerFormat constructor

Format.createVideoContainerFormat({
  1. String? id,
  2. String? label,
  3. String? containerMimeType,
  4. String? sampleMimeType,
  5. required String? codecs,
  6. int? bitrate,
  7. int? averageBitrate,
  8. required int? width,
  9. required int? height,
  10. required double? frameRate,
  11. int selectionFlags = Util.selectionFlagDefault,
  12. int? roleFlags,
  13. bool? isDefault,
})

Implementation

factory Format.createVideoContainerFormat({
  String? id,
  String? label,
  String? containerMimeType,
  String? sampleMimeType,
  required String? codecs,
  int? bitrate,
  int? averageBitrate,
  required int? width,
  required int? height,
  required double? frameRate,
  int selectionFlags = Util.selectionFlagDefault,
  int? roleFlags,
  bool? isDefault,
}) =>
    Format(
      id: id,
      label: label,
      selectionFlags: selectionFlags,
      bitrate: bitrate,
      averageBitrate: averageBitrate,
      codecs: codecs,
      containerMimeType: containerMimeType,
      sampleMimeType: sampleMimeType,
      width: width,
      height: height,
      frameRate: frameRate,
      roleFlags: roleFlags,
      isDefault: isDefault,
    );