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

Cleanup Widevine PSSH #986

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

ftyp
Copy link
Contributor

@ftyp ftyp commented Nov 13, 2024

image
https://tools.axinom.com/decoders/PsshBox

Remove deprecated Algorithm field 1 which should not be used conjunction with Protection Scheme field 9

If backward compatibility is needed please consider using the Algorithm field only for CENC instead, e.g.

if encryption_scheme == 'cenc':
    protobuf_fields.append((1, 1))
else:
    four_cc = struct.unpack('>I', encryption_scheme.encode('ascii'))[0]
    protobuf_fields.append((9, four_cc))

@barbibulle barbibulle merged commit 3bdc891 into axiomatic-systems:master Nov 15, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants