LiveConfig class
Configures the behavior when playing live content.
- Inheritance
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- LiveConfig({double minTimeShiftBufferDepth = -40.0, double liveEdgeOffset = -1.0})
-
const
-
LiveConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveEdgeOffset → double
-
The duration in seconds by which the default start position should precede
the end of the live window. A suggested presentation delay in a manifest
will be overridden. In case of a DASH low latency stream, the
liveEdgeOffset will be ignored. A value < 0 disables this feature.
Has no effect with HLS and Progressive sources.
Default value is -1.0.
final
- minTimeShiftBufferDepth → double
-
The minimum buffer depth of a stream needed to enable time shifting. If
the available buffer depth is shorter, time shifting is disabled and
Player.maxTimeShift returns 0.
Default value is -40.0.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited