AndroidLivePlaybackSpeedControl constructor
const
AndroidLivePlaybackSpeedControl({
- double fallbackMinPlaybackSpeed = 0.97,
- double fallbackMaxPlaybackSpeed = 1.03,
- Duration minUpdateInterval = const Duration(seconds: 1),
- double proportionalControlFactor = 1.0,
- Duration maxLiveOffsetErrorForUnitSpeed = const Duration(milliseconds: 20),
- Duration targetLiveOffsetIncrementOnRebuffer = const Duration(milliseconds: 500),
- double minPossibleLiveOffsetSmoothingFactor = 0.999,
Implementation
const AndroidLivePlaybackSpeedControl({
this.fallbackMinPlaybackSpeed = 0.97,
this.fallbackMaxPlaybackSpeed = 1.03,
this.minUpdateInterval = const Duration(seconds: 1),
this.proportionalControlFactor = 1.0,
this.maxLiveOffsetErrorForUnitSpeed = const Duration(milliseconds: 20),
this.targetLiveOffsetIncrementOnRebuffer =
const Duration(milliseconds: 500),
this.minPossibleLiveOffsetSmoothingFactor = 0.999,
});