Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TcT2k opened this issue Jun 24, 2024 · 0 comments
Open

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

TcT2k opened this issue Jun 24, 2024 · 0 comments

Comments

@TcT2k
Copy link

TcT2k commented Jun 24, 2024

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) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant