OptiView Ads SDK
    Preparing search index...

    Type Alias AdPreloadMode

    AdPreloadMode: "parallel" | "single-decoder" | "none" | "auto"

    Ad preload strategy.

    • parallel: buffer the next ad into the attached ad player while content plays. Needs two simultaneous MediaSources — safe on desktop and modern Smart TVs.
    • single-decoder: cache warming + detached prefetch only; attach/decode at break start. Safe on single-decoder TVs (Tizen, webOS, VIZIO SmartCast).
    • none: disable preloading; load the ad when the break starts.
    • auto (default): User-Agent based — single-decoder TVs → single-decoder, else parallel.

    On single-decoder TVs, preloading avoids attaching a second MediaSource so the content player can continue using the device's decoder until the break starts.