Deployed 8cf915fd with MkDocs version: 1.6.1

This commit is contained in:
2026-11-26 20:40:49 +00:00
parent 3efcd59710
commit 8ede94f88a
9 changed files with 22 additions and 11 deletions
+1
View File
@@ -3627,6 +3627,7 @@ For configuring DRM as a user, see <a href="../../../guide/drm-and-cdm/">DRM &am
<div class="doc doc-contents ">
<p>Decrypt a Track with AES-128 ClearKey (HLS) DRM.</p>
<p>A segment that fails the PKCS7 unpad is kept as decrypted: some streams are block aligned with no padding.</p>
</div>
+3 -2
View File
@@ -8763,12 +8763,13 @@ of <code>get_init_segment</code> to find the Key ID.</p>
<a href="#unshackle.core.tracks.Track.load_drm_from_playlist" class="headerlink" title="Permanent link">&para;</a></h3>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">load_drm_from_playlist</span><span class="p">()</span>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">load_drm_from_playlist</span><span class="p">(</span><span class="n">session</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span>
</span></code></pre></div>
<div class="doc doc-contents ">
<p>Fallback method to load DRM by fetching this track's individual playlist.</p>
<p>Load the Widevine and PlayReady DRM of the EXT-X-KEY and EXT-X-SESSION-KEY tags of this track's playlist.</p>
<p>It skips a tag that gives no DRM, and raises ValueError when the fetch fails or when every such tag fails.</p>
</div>