Amazon Vinyl
    Preparing search index...

    Interface DrmOptions

    DrmConfig configures DrmController and LicenseProvider.

    interface DrmOptions {
        keySystems: {
            "com.apple.fps"?: DrmKeySystemOptions;
            "com.apple.fps.1_0"?: DrmKeySystemOptions;
            "com.apple.fps.2_0"?: DrmKeySystemOptions;
            "com.chromecast.playready"?: DrmKeySystemOptions;
            "com.microsoft.playready"?: DrmKeySystemOptions;
            "com.microsoft.playready.recommendation"?: DrmKeySystemOptions;
            "com.microsoft.playready.recommendation.3000"?: DrmKeySystemOptions;
            "com.widevine.alpha"?: DrmKeySystemOptions;
            "org.w3.clearkey"?: DrmKeySystemOptions;
        } & { "org.w3.clearkey"?: DrmClearKeySystemOptions } & {
            "*"?: DrmKeySystemOptions;
        };
        licenseProvider?: LicenseProvider;
        preferPrefixedMediaKeys?: Maybe<boolean>;
    }
    Index
    keySystems: {
        "com.apple.fps"?: DrmKeySystemOptions;
        "com.apple.fps.1_0"?: DrmKeySystemOptions;
        "com.apple.fps.2_0"?: DrmKeySystemOptions;
        "com.chromecast.playready"?: DrmKeySystemOptions;
        "com.microsoft.playready"?: DrmKeySystemOptions;
        "com.microsoft.playready.recommendation"?: DrmKeySystemOptions;
        "com.microsoft.playready.recommendation.3000"?: DrmKeySystemOptions;
        "com.widevine.alpha"?: DrmKeySystemOptions;
        "org.w3.clearkey"?: DrmKeySystemOptions;
    } & { "org.w3.clearkey"?: DrmClearKeySystemOptions } & {
        "*"?: DrmKeySystemOptions;
    }

    Type Declaration

    • Optional Readonly*?: DrmKeySystemOptions

      A wildcard to match any key system when there wasn't a match.

    licenseProvider?: LicenseProvider

    If not set, the license provider from the player dependencies will be used.

    preferPrefixedMediaKeys?: Maybe<boolean>

    If true, the prefixed EME implementations (WebKit, then MS) are preferred over standard EME when the browser supports them. Otherwise standard EME is used, falling back to a prefixed implementation only when standard EME is unavailable.

    Set this to use DrmKeySystem.FAIR_PLAY_1_0, which is only available through WebKit-prefixed EME.

    Read once when the player is constructed (it selects the EME implementation); setting it via configure or per-track options has no effect.

    Default: false