Adaptive Bitrate (ABR) API
Abr object allows to control the adaptive bitrate behavior of the player. This API is available from version 2.30.0 onward.
Abr object provides the following properties:
|strategy||ABRStrategyConfiguration||Optionally specifies one of the available pre-set strategies that the player will use. The following strategies are available
|targetBuffer||number||Allows for configuring the amount of seconds to buffer ahead of the current playback position. The player might sometimes buffer less than the configured amount because of device or performance constraints.|
An object specifying strategy and metadata that the player will use for initial playback.
|type||string||yes||Type of strategy.|
|metadata||Bitrate||yes||Specifies metadata required to start playback|
An object specifying a bitrate that can be used to select the optimal quality.
|bitrate||number||yes||A bitrate measuring in bits per second, used for initial playback|