PlaybackConfig constructor
const
PlaybackConfig({ - bool isAutoplayEnabled = false,
- bool isMuted = false,
- bool isTimeShiftEnabled = true,
- bool isBackgroundPlaybackEnabled = false,
- List<String>? videoCodecPriority,
- List<String>? audioCodecPriority,
- bool isTunneledPlaybackEnabled = false,
- SeekMode seekMode = SeekMode.exact,
- MediaFilter audioFilter = MediaFilter.loose,
- 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,
});