Type alias AdaptiveStreamSettings

AdaptiveStreamSettings: {
    pauseVideoInBackground?: boolean;
    pixelDensity?: number | "screen";
}

Type declaration

  • Optional pauseVideoInBackground?: boolean

    If true, video gets paused when switching to another tab. Defaults to true.

  • Optional pixelDensity?: number | "screen"

    Set a custom pixel density. Defaults to 2 for high density screens (3+) or 1 otherwise. When streaming videos on a ultra high definition screen this setting let's you account for the devicePixelRatio of those screens. Set it to screen to use the actual pixel density of the screen Note: this might significantly increase the bandwidth consumed by people streaming on high definition screens.

Generated using TypeDoc