mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-02 05:55:08 +00:00
fix(drm): stop a bridged FairPlay track whose server-CDM answer or licence key does not decrypt it
This commit is contained in:
@@ -550,7 +550,9 @@ The download reads the key ID from the init segment, builds a DRM object for tha
|
||||
the service on the server has the hook. The server reads the same key ID at the licence step, accepts
|
||||
the DRM object of the client and sends the challenge to the hook of its service. A server that cannot
|
||||
read the key ID refuses the challenge. A licence that gives no content key stops the track before it
|
||||
downloads a segment.
|
||||
downloads a segment. With the server CDM, the batch licence names the key IDs that the server read, so an
|
||||
answer without their content keys stops the track in the same way. A content key that does not decode
|
||||
the downloaded track stops the track with an error, and unshackle keeps no output file.
|
||||
|
||||
unshackle reads one key ID from each init segment. So it licenses a playlist that changes its content key
|
||||
correctly only when each content key has its own init segment with a real `tenc` key ID, after an
|
||||
|
||||
Reference in New Issue
Block a user