Skip to content

Issue while playing back fair play content (non legacy) in safari #224

@TcT2k

Description

@TcT2k

The mock encrypted event inside initializeMediaKeys does have null initData.
When getSupportedKeySystem() is called this results in an null is not an object (evaluating 'arrayBuffer2.byteLength') exception.

I think the following line in src/plugin.js line should have it's if condition reversed, so that null init data is correctly handled before calling hasSession() with the nullvalue.

if (hasSession(sessions, initData) || !initData) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions