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()?, MPVLogLevel logLevel = MPVLogLevel.none, 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 libmpv backend.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logLevel → MPVLogLevel
-
Sets the log level on libmpv backend.
Default:
none
.final - osc → bool
-
Enables on-screen controls for libmpv backend.
final
- pitch → bool
-
Enables or disables pitch shift control for libmpv backend.
final
-
protocolWhitelist
→ List<
String> -
Sets the list of allowed protocols for libmpv 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 libmpv backend.
This is visible inside the Windows' volume mixer.
final
- vo → String?
-
Sets the video output driver for libmpv 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