rlaphoenix
0537c9666c
PSSH: Add new()
class method to craft boxes manually
2022-08-05 08:26:03 +01:00
rlaphoenix
fc47bbb436
PSSH: Merge get_as_box into the Constructor
...
Also improves the code of it overall including documentation.
The _box class instance variable has been removed and the raw box is no longer kept.
2022-08-05 05:33:13 +01:00
rlaphoenix
1ea57865ad
PSSH: Fix usage of WidevinePsshData's key_ids field
2022-08-04 09:46:30 +01:00
rlaphoenix
97126391c4
PSSH: Fix get_as_box parsing on arbitrary init data
...
An IOError can occur if the mp4 box parsing fails because it could not read enough bytes.
2022-08-02 01:48:49 +01:00
rlaphoenix
71a43a069d
PSSH: Fix mistake in the doc-string of get_as_box()
2022-07-30 02:56:22 +01:00
rlaphoenix
b5ac0f45a2
Remove Cdm raw param, Improve PSSH.get_as_box()
...
The Cdm no longer requires you to specify if it's raw or not thanks to changes in PSSH.get_as_box() now supporting both dynamically.
It will parse the data and if its not a box, it will use the provided data in a newly crafted box.
2022-07-30 02:21:19 +01:00
rlaphoenix
8f7cacb10a
PSSH: Remove from_init_data()
...
This is unused and will soon be unnecessary.
2022-07-30 02:21:02 +01:00
rlaphoenix
676110c01e
PSSH: Fix check of Cenc Header data in get_as_box()
2022-07-30 01:33:21 +01:00
rlaphoenix
35ccd2f393
Add PSSH Utility Class
2022-07-20 14:36:20 +01:00