THEOplayer > ABRConfiguration
Describes the adaptive bitrate configuration.
Signature:
export interface ABRConfiguration
- Available since v2.30.0.
Property |
Type |
Description |
---|---|---|
bufferLookbackWindow (optional) |
|
The amount of data which the player should keep in its buffer before the current playback position, in seconds. This configuration option can be used to reduce the memory footprint on memory restricted devices or on devices which don't automatically prune decoder buffers. Note that the player can decide to keep less data in the decoder buffer in case memory is running low. A value of 0 or lower is not accepted and will be treated as default. |
strategy (optional) |
The adaptive bitrate strategy. |
|
targetBuffer (optional) |
|
The amount which the player should buffer ahead of the current playback position, in seconds. |
The amount of data which the player should keep in its buffer before the current playback position, in seconds. This configuration option can be used to reduce the memory footprint on memory restricted devices or on devices which don't automatically prune decoder buffers.
Note that the player can decide to keep less data in the decoder buffer in case memory is running low. A value of 0 or lower is not accepted and will be treated as default.
Signature:
bufferLookbackWindow?: number;
The adaptive bitrate strategy.
Signature:
strategy?: ABRStrategy;
The amount which the player should buffer ahead of the current playback position, in seconds.
Signature:
targetBuffer?: number;
- This duration has a maximum of 60 seconds.
- The player might reduce or ignore the configured amount because of device or performance constraints.