UMediaTrack constructor

const UMediaTrack({
  1. required String id,
  2. required UMediaTrackType type,
  3. String? label,
  4. String? language,
  5. String? codec,
  6. int? bitrate,
  7. int? width,
  8. int? height,
  9. double? frameRate,
  10. int? channels,
  11. int? sampleRate,
  12. bool isDefault = false,
  13. bool isForced = false,
  14. bool isSelected = false,
  15. bool isAuto = false,
})

Implementation

const UMediaTrack({
  required this.id,
  required this.type,
  this.label,
  this.language,
  this.codec,
  this.bitrate,
  this.width,
  this.height,
  this.frameRate,
  this.channels,
  this.sampleRate,
  this.isDefault = false,
  this.isForced = false,
  this.isSelected = false,
  this.isAuto = false,
});