PlaybackConfig constructor

const PlaybackConfig({
  1. bool isAutoplayEnabled = false,
  2. bool isMuted = false,
  3. bool isTimeShiftEnabled = true,
  4. bool isBackgroundPlaybackEnabled = false,
  5. List<String>? videoCodecPriority,
  6. List<String>? audioCodecPriority,
  7. bool isTunneledPlaybackEnabled = false,
  8. SeekMode seekMode = SeekMode.exact,
  9. MediaFilter audioFilter = MediaFilter.loose,
  10. MediaFilter videoFilter = MediaFilter.loose,
})

Implementation

const PlaybackConfig({
  this.isAutoplayEnabled = false,
  this.isMuted = false,
  this.isTimeShiftEnabled = true,
  this.isBackgroundPlaybackEnabled = false,
  this.videoCodecPriority,
  this.audioCodecPriority,
  this.isTunneledPlaybackEnabled = false,
  this.seekMode = SeekMode.exact,
  this.audioFilter = MediaFilter.loose,
  this.videoFilter = MediaFilter.loose,
});