pywidevine/pywidevine
rlaphoenix 7c91f2c59a PSSH: Dump the same version as the loaded data
Currently, even though self.version would be 0, it would dump as a version=1 box with key_IDs set to data (where possible).

This is because pymp4 sets the version to 1 if key_IDs is set with data, as that would make it a v1 PSSH box. So effectively .dump() and .dumps() forces a v1 box as output even if you loaded or created a v0 box.

Fixes #16
2022-10-13 11:21:47 +01:00
..
__init__.py Add import path shortcuts for Classes 2022-09-28 06:40:52 +01:00
cdm.py Cdm: Reduce maximum concurrent sessions to 16 2022-09-28 07:54:09 +01:00
device.py Device: Re-raise DecodeErrors within some DecodeError handlers 2022-09-05 12:55:06 +01:00
exceptions.py
key.py
license_protocol_pb2.py Update protobuf to v4.21.6 and recompile buffers 2022-09-24 12:05:20 +01:00
license_protocol_pb2.pyi Update protobuf to v4.21.6 and recompile buffers 2022-09-24 12:05:20 +01:00
license_protocol.proto Update protobuf to v4.21.6 and recompile buffers 2022-09-24 12:05:20 +01:00
main.py Replace all lazy log formatting with logging formatting 2022-09-10 20:35:39 +01:00
pssh.py PSSH: Dump the same version as the loaded data 2022-10-13 11:21:47 +01:00
remotecdm.py Store Service Certificate in session as SignedDrmCertificate 2022-09-28 07:46:52 +01:00
serve.py Serve: Properly enforce privacy mode 2022-09-10 21:53:14 +01:00
session.py Store Service Certificate in session as SignedDrmCertificate 2022-09-28 07:46:52 +01:00
utils.py