OGPlayer Web SDK
    Preparing search index...

    Interface DrmConfig

    Multi-DRM configuration — the web counterpart of Android's DrmConfig / iOS's FairPlayConfig, unified: configure every scheme you have and the SDK picks whichever the visitor's browser supports (Chrome/Firefox/Android → Widevine, Edge → PlayReady or Widevine, Safari → FairPlay).

    interface DrmConfig {
        fairplay?: DrmSchemeConfig & { certificateUrl: string };
        playready?: DrmSchemeConfig;
        tokenProvider?: DrmTokenProvider;
        widevine?: DrmSchemeConfig & { serverCertificateUrl?: string };
    }
    Index
    fairplay?: DrmSchemeConfig & { certificateUrl: string }
    playready?: DrmSchemeConfig
    tokenProvider?: DrmTokenProvider

    Rotating-token hook, applied to whichever scheme engages.

    widevine?: DrmSchemeConfig & { serverCertificateUrl?: string }