Configures the adaptation logic.

interface AdaptationConfig {
    initialBandwidthEstimateOverride?: number;
    maxSelectableBitrate?: number;
}

Properties

initialBandwidthEstimateOverride?: number

The initial bandwidth estimate in bits per second the player uses to select the optimal media tracks before actual bandwidth data is available. Overriding this value should only be done in specific cases and will most of the time not result in better selection logic.

maxSelectableBitrate?: number

The upper bitrate boundary in bits per second for approximate network bandwidth consumption of the played source. Can be set to undefined for no limitation.