logo
THEOplayer
ABR
ABRConfigurationABRMetadataABRStrategyABRStrategyConfigurationABRStrategyType
Ads
Caching
Content protection
Analytics
Casting
Media and Text Tracks
Miscellaneous
Verizon Media
Source
Events
SSAI
Network
Presentation
Player
UI
VR

THEOplayer > ABRConfiguration

ABRConfiguration interface

Describes the adaptive bitrate configuration.

Signature:

export interface ABRConfiguration 

Remarks


- Available since v2.30.0.

Properties

Property

Type

Description

bufferLookbackWindow (optional)

number

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)

ABRStrategy

The adaptive bitrate strategy.

targetBuffer (optional)

number

The amount which the player should buffer ahead of the current playback position, in seconds.

Property Details

bufferLookbackWindow

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;

strategy

The adaptive bitrate strategy.

Signature:

strategy?: ABRStrategy;

targetBuffer

The amount which the player should buffer ahead of the current playback position, in seconds.

Signature:

targetBuffer?: number;

Remarks


- This duration has a maximum of 60 seconds.
- The player might reduce or ignore the configured amount because of device or performance constraints.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2020. All Rights Reserved.
Leuven
New York
San Francisco
Singapore
Barcelona