Deployed ba291105 with MkDocs version: 1.6.1

This commit is contained in:
2026-11-30 04:33:08 +00:00
parent c14c48df8c
commit 79e7b62941
4 changed files with 77 additions and 39 deletions
+38
View File
@@ -1702,6 +1702,17 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#a-playlist-whose-key-tag-unshackle-cannot-license" class="md-nav__link">
<span class="md-ellipsis">
A playlist whose key tag unshackle cannot license
</span>
</a>
</li>
<li class="md-nav__item">
@@ -2570,6 +2581,17 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#a-playlist-whose-key-tag-unshackle-cannot-license" class="md-nav__link">
<span class="md-ellipsis">
A playlist whose key tag unshackle cannot license
</span>
</a>
</li>
<li class="md-nav__item">
@@ -3242,6 +3264,22 @@ protection boxes, so the muxer reads a clear file. Then your <code>on_track_decr
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="a-playlist-whose-key-tag-unshackle-cannot-license">A playlist whose key tag unshackle cannot license<a class="headerlink" href="#a-playlist-whose-key-tag-unshackle-cannot-license" title="Permanent link">&para;</a></h3>
<p>A media playlist can name only a key system that unshackle does not read, such as an <code>skd://</code> key
over cbcs media, while the licence server of the platform also issues the same content key over
PlayReady or Widevine. To license such a track through one of those systems:</p>
<ol>
<li>Read the key ID from the init segment of the track. <code>HLS.get_track_kid_from_init</code> returns it.</li>
<li>Put a DRM object that names the key ID on the track: <code>drm_stub</code> from <code>unshackle.core.drm.cenc</code>
with <code>"playready"</code> or <code>"widevine"</code> and the key ID.</li>
<li>Let your licence callback send the challenge to the server that issues that key.</li>
</ol>
<p><code>drm_stub</code> builds the header from the key ID alone, so this works with a licence server that goes
by the key ID, not with one that checks a header a packager signed. When a track carries a DRM
object and every <code>EXT-X-KEY</code> of its playlist names a key system unshackle cannot license,
<code>HLS.drop_unsupported_keys</code> removes the tags from the parsed playlist. The download then licenses
and decrypts the track with the DRM object of the track. A track with no DRM object still stops
with <code>None of the key systems are supported</code>.</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">&para;</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
File diff suppressed because one or more lines are too long
+38 -38
View File
@@ -2,154 +2,154 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://docs.unshackle.dev/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/creating-a-service/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/service-architecture/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/authentication/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/dashboard/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/endpoints/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/errors/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/job-lifecycle/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/quickstart/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/dev/rest-api/remote-sessions/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/configuration-file/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/installation/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/getting-started/quickstart/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/cli-reference/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/downloading/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/drm-and-cdm/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/output-and-naming/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/proxies-and-vpn/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/subtitles/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/troubleshooting/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/guide/vaults/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/config/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/drm/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/service/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/titles/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/api/tracks/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/directories/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/download/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/drm/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/example/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/misc/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/network/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/output/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/post-scripts/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/services/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
<url>
<loc>https://docs.unshackle.dev/reference/configuration/vaults/</loc>
<lastmod>2026-11-29</lastmod>
<lastmod>2026-11-30</lastmod>
</url>
</urlset>
BIN
View File
Binary file not shown.