Configures buffer target levels for different MediaTypes.

interface BufferMediaTypeConfig {
    forwardDuration?: number;
}

Properties

Properties

forwardDuration?: number

The amount of data in seconds the player tries to buffer in advance.

iOS and tvOS, only: If set to 0, the player will choose an appropriate forward buffer duration suitable for most use-cases.

Default value is 0 on iOS and tvOS, 50 on Android