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