mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-30 13:05:08 +00:00
Deployed 4bcc15df with MkDocs version: 1.6.1
This commit is contained in:
@@ -3237,9 +3237,9 @@ process can use. For these, set no <code>drm</code> on the track and override tw
|
||||
full-sample cbcs only, not pattern encryption.</li>
|
||||
</ul>
|
||||
<p>When the download of the track ends, unshackle calls <code>unshackle.core.drm.cbcs.decrypt_file</code>, and
|
||||
the progress row shows "Decrypting". Your <code>on_track_downloaded</code> runs before this and gets the
|
||||
encrypted file. <code>decrypt_file</code> writes the plaintext back in place and removes the
|
||||
protection boxes, so the muxer reads a clear file. In a remote session <code>get_sample_decrypter</code>
|
||||
the progress row shows "Decrypting". <code>decrypt_file</code> writes the plaintext back in place and removes the
|
||||
protection boxes, so the muxer reads a clear file. Then your <code>on_track_decrypted</code> runs with <code>drm</code> set
|
||||
to <code>None</code>, and after it your <code>on_track_downloaded</code> runs and gets the clear file. In a remote session <code>get_sample_decrypter</code>
|
||||
runs on the server: the client sends the samples through the <code>samples</code> route, so a decrypter
|
||||
that needs a process on the server also works for a remote client.</p>
|
||||
<h3 id="how-unshackle-chooses-a-cdm-and-finds-keys">How unshackle chooses a CDM and finds keys<a class="headerlink" href="#how-unshackle-chooses-a-cdm-and-finds-keys" title="Permanent link">¶</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user