PlayerConfiguration constructor
const
PlayerConfiguration({
- String? vo = 'null',
- bool osc = false,
- bool pitch = false,
- String title = 'package:media_kit',
- void ready()?,
- bool muted = false,
- bool async = true,
- bool libass = false,
- String? libassAndroidFont,
- String? libassAndroidFontName,
- MPVLogLevel logLevel = MPVLogLevel.error,
- int bufferSize = 32 * 1024 * 1024,
- List<
String> protocolWhitelist = const ['udp', 'rtp', 'tcp', 'tls', 'data', 'file', 'http', 'https', 'crypto'],
PlayerConfiguration
Configurable options for customizing the Player
behavior.
Implementation
const PlayerConfiguration({
this.vo = 'null',
this.osc = false,
this.pitch = false,
this.title = 'package:media_kit',
this.ready,
this.muted = false,
this.async = true,
this.libass = false,
this.libassAndroidFont,
this.libassAndroidFontName,
this.logLevel = MPVLogLevel.error,
this.bufferSize = 32 * 1024 * 1024,
this.protocolWhitelist = const [
'udp',
'rtp',
'tcp',
'tls',
'data',
'file',
'http',
'https',
'crypto',
],
});