Vinyl
    Preparing search index...

    Class StandardCommonMediaKeySession

    CommonMediaKeySession for unprefixed EME implementations.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    initDataType: string
    logPrefix: string

    A string prefix for all log statements made by this target.

    mimeType: string

    Accessors

    • get "[toStringTag]"(): string

      Returns string

    • get disposed(): boolean

      Returns true if the session has been disposed.

      Returns boolean

    Methods

    • Closes the session, and removes session handling and event listeners, freeing this session handler for GC.

      Note: The audio source should be cleared first.

      Returns void

    • Updates the session with the license data.

      Parameters

      • key: ArrayBufferLike

      Returns Promise<void>