PipFlutterPlayerBufferingConfiguration class
Configuration class used to setup better buffering experience or setup custom load settings. Currently used only in Android.
Constructors
- PipFlutterPlayerBufferingConfiguration({int minBufferMs = defaultMinBufferMs, int maxBufferMs = defaultMaxBufferMs, int bufferForPlaybackMs = defaultBufferForPlaybackMs, int bufferForPlaybackAfterRebufferMs = defaultBufferForPlaybackAfterRebufferMs})
-
const
Properties
- bufferForPlaybackAfterRebufferMs → int
-
The default duration of media that must be buffered for playback to resume
after a rebuffer, in milliseconds. A rebuffer is defined to be caused by
buffer depletion rather than a user action.
final
- bufferForPlaybackMs → int
-
The default duration of media that must be buffered for playback to start
or resume following a user action such as a seek, in milliseconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBufferMs → int
-
The default maximum duration of media that the player will attempt to
buffer, in milliseconds.
final
- minBufferMs → int
-
The default minimum duration of media that the player will attempt to
ensure is buffered at all times, in milliseconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
- defaultBufferForPlaybackAfterRebufferMs → const int
- defaultBufferForPlaybackMs → const int
- defaultMaxBufferMs → const int
- defaultMinBufferMs → const int
- Constants values are from the offical exoplayer documentation https://exoplayer.dev/doc/reference/constant-values.html#com.google.android.exoplayer2.DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_MS