mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-02 05:55:08 +00:00
Deployed c7a3febf with MkDocs version: 1.6.1
This commit is contained in:
@@ -5541,7 +5541,7 @@ A slow answer arrives as a <a href="#slow-responses">slow response</a>.</p>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="post-apisessionsession_idkeys"><code>POST /api/session/{session_id}/keys</code><a class="headerlink" href="#post-apisessionsession_idkeys" title="Permanent link">¶</a></h3>
|
||||
<p>Store the content keys that the client proved on a track and that the server did not serve to this remote session. The server stores a content key only for a KID that a track of the remote session names and that no local server vault holds a content key for. It never stores a pair flagged bad, and it never removes a flag. The server answers when its local vaults hold the pairs, and sends them to its other vaults after the answer. The client sends each key of a licence when the licence returns, and each vault key after its decode check passes.</p>
|
||||
<p>Store the content keys that the client proved on a track and that the server did not serve to this remote session. The server stores a content key only for a KID that a track of the remote session names and that no local server vault holds a content key for. It never stores a pair flagged bad, and it never removes a flag. The server answers when its local vaults hold the pairs, and sends them to its other vaults after the answer. The client sends each key of a licence when the licence returns, and each vault key after its decode check passes. A licence key of a FairPlay-only track that the client licensed through the bridge goes only after its decode check passes, so a client without FFmpeg does not send it.</p>
|
||||
<div class="language-json highlight"><pre><span></span><code><span id="__span-46-1"><a id="__codelineno-46-1" name="__codelineno-46-1" href="#__codelineno-46-1"></a><span class="p">{</span><span class="w"> </span><span class="nt">"track_id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"<track_id>"</span><span class="p">,</span><span class="w"> </span><span class="nt">"keys"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nt">"<kid_hex>"</span><span class="p">:</span><span class="w"> </span><span class="s2">"<key_hex>"</span><span class="w"> </span><span class="p">}</span><span class="w"> </span><span class="p">}</span>
|
||||
</span></code></pre></div>
|
||||
<table>
|
||||
|
||||
@@ -3331,6 +3331,8 @@ such a track out of the selection:</p>
|
||||
or each selected audio track is FairPlay-only, <code>dl</code> skips the title.</li>
|
||||
<li><code>--list</code> shows every track and checks none. An import is not checked, because its export holds the
|
||||
content keys.</li>
|
||||
<li>With the hook, <code>dl</code> still leaves out FairPlay-only DASH tracks, because the bridge works for HLS only.
|
||||
The line then reads <code>Left out 1 FairPlay-only track: DASH has no FairPlay bridge</code>.</li>
|
||||
</ul>
|
||||
<p>A licence server that does not issue the content key refuses the challenge, and can flag the device. Test
|
||||
the route with a licence-only run (<code>--cdm-only --skip-dl</code>) before a service relies on it.</p>
|
||||
@@ -3405,6 +3407,9 @@ The download then licenses and decrypts the track with the DRM object of the tra
|
||||
one content key per track: the key changes of the playlist go with the tags. This limit also
|
||||
applies to a DRM object that the download builds. Any other track stops with
|
||||
<code>None of the key systems are supported</code> before it downloads a segment.</p>
|
||||
<p>A DASH track with no DRM object stops with the same error when its init segment has an encrypted
|
||||
sample entry. A DASH track with no init segment stops after the download when the file has one, and
|
||||
unshackle deletes the file. A service sample decrypter turns off both checks.</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>
|
||||
<p>CDM selection is config-driven: the <code>cdm</code> map resolves a service tag (and optionally the
|
||||
track quality or DRM type) to a device name, which <code>load_cdm</code> instantiates as a local
|
||||
|
||||
Reference in New Issue
Block a user