BolaRule

Description

The BolaRule is a buffer based ABR rule. BOLA uses a bitrate selection function that maps the current buffer level to the bitrate of the next segment to be downloaded. The illustration below shows an example of a bitrate selection function for a video that is encoded in three bitrates (1000, 2500 and 5000 kbps) and has a buffer capacity of 18 seconds. The thresholds for switching to a different quality are at 5 and 10 seconds of buffer.

ABR

For additional details about the BOLA rule check out the following two paper:

Example

player.updateSettings({
    streaming: {
        abr: {
            rules: {
                bolaRule: {
                    active: true
                }
            }
        }
    }
});