discontinuedPackage flutter_meedu_media_kit has been discontinued.

PlayerConfiguration class

PlayerConfiguration

Configurable options for customizing the Player behavior.

Constructors

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
const

Properties

bufferSize → int
Sets the demuxer cache size (in bytes) for native backend.
final
hashCode → int
The hash code for this object.
no setterinherited
libass → bool
Whether to use libass based subtitle rendering for native backend.
final
libassAndroidFont → String?
Asset name of the .ttf font file to be used for libass based subtitle rendering on Android.
final
logLevel → MPVLogLevel
Sets the log level on native backend. Default: none.
final
osc → bool
Enables on-screen controls for native backend.
final
pitch → bool
Enables or disables pitch shift control for native backend.
final
protocolWhitelist → List<String>
Sets the list of allowed protocols for native backend.
final
ready → void Function()?
Optional callback invoked when the internals of the Player are initialized & ready for playback.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
Sets the name of the underlying window & process for native backend. This is visible inside the Windows' volume mixer.
final
vo → String?
Sets the video output driver for native backend.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited