PlayerConfiguration constructor

const PlayerConfiguration({
  1. String? vo = 'null',
  2. bool osc = false,
  3. bool pitch = false,
  4. String? title,
  5. void ready()?,
  6. bool libass = false,
  7. String? libassAndroidFont,
  8. MPVLogLevel logLevel = MPVLogLevel.error,
  9. int bufferSize = 32 * 1024 * 1024,
  10. 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',
  ],
});