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

[DRM] Ignore 'encrypted' event #2165

Conversation

jeremco
Copy link
Contributor

@jeremco jeremco commented Sep 8, 2017

Hi

This PR ignores 'encrypted' event in case the key system has already been selected and pssh already processed.

This avoids to call requestKeySystemAccess each time an init segment is pushed in sourcebuffer (each time bitrate is changed)
This may lead to a crash of CDM.

This can be the cause of issue #2159

Jeremie

… selected and pssh already processed.

This avoids to call requestKeySystemAccess each time an init segment is pushed in sourcebuffer (each time bitrate is changed)
This may lead to a crash of CDM
@dsparacio
Copy link
Contributor

@jeremco this seems like a good fix, noticed this last week doing some heavy DRM stuff. Ill pull test, review and merge. Thanks for this

@dsparacio dsparacio merged commit dce53d7 into Dash-Industry-Forum:development Sep 29, 2017
@jeremco jeremco deleted the ignore_encrypted_event branch November 13, 2017 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants