Interface BackgroundPlaybackConfig

Configures background playback characteristics.

interface BackgroundPlaybackConfig {
    enabled: boolean;
    switchDelayMs: number;
}

Properties

enabled: boolean

Controls whether the player downswitches qualities during background playback

false
switchDelayMs: number

The duration, in milliseconds, after the player is hidden to switch to the background quality

60000 (1 minute)