mobileFX WebKitX CEF3 ActiveX 4.x
WebKitXCEF3Lib ActiveX Control / HLSSettings Object / emeEnabled Property
In This Topic
    emeEnabled Property
    In This Topic
    Description

    Whether to configure Enable Encrypted Media Extension for the stream.

    Default: false

    Property type
    Read-write property
    Syntax
    Visual Basic
    Public Property emeEnabled As Boolean
    Remarks

    Whether to configure EME for the stream, using the requestMediaKeySystemAccessFunc, getEMEInitializationDataFunc, and getEMELicenseFunc hooks. If set, all three hooks must be implemented.

    HLS.js can configure EME in the browser using the following configuration. EME support has currently been tested with Widevine DRM on Chrome using a CBCS CMAF stream, and on Firefox using a CTR CMAF stream. hls.js supports multiple licenses for a stream by creating MediaKeySessions for each level and audioTrack. The configuration hooks will be called for each level and audioTrack found in the manifest so that the Initialization Data used to generate a license request, and the license request itself can be configured for each level and audioTrack. hls.js also supports EME streams where Initialization Data is not in the fragments. If the user knows their stream does not include Initialization Data in the fragments, the user can set emeInitDataInFrag to false, and hls.js will configure EME on the assumption that the user will provide the Initialization Data by other means when their getEMEInitializationDataFunc is called. Note: EME is only available when served over HTTPS. Setting emeEnabled for a stream served over HTTP will trigger the KEY_SYSTEM_NO_ACCESS error.

    Example

    Enable Encrypted Media Extension.

    See Also