AndroidLivePlaybackSpeedControl constructor

const AndroidLivePlaybackSpeedControl({
  1. double fallbackMinPlaybackSpeed = 0.97,
  2. double fallbackMaxPlaybackSpeed = 1.03,
  3. Duration minUpdateInterval = const Duration(seconds: 1),
  4. double proportionalControlFactor = 1.0,
  5. Duration maxLiveOffsetErrorForUnitSpeed = const Duration(milliseconds: 20),
  6. Duration targetLiveOffsetIncrementOnRebuffer = const Duration(milliseconds: 500),
  7. 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,
});