mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-03 22:45:09 +00:00
Deployed f8a248a2 with MkDocs version: 1.6.1
This commit is contained in:
@@ -3413,8 +3413,8 @@ init segment that gives no real key ID does not count.</p>
|
||||
<p>A service that must choose the DRM system itself, or one that knows the key ID, puts the DRM object
|
||||
on the track:</p>
|
||||
<ol>
|
||||
<li>Read the key ID from the init segment of the track. <code>HLS.get_track_kid_from_init</code> returns it. It reads
|
||||
the first init segment of the playlist, unless you give it the init segment of the encrypted segments.</li>
|
||||
<li>Read the key ID from the init segment of the encrypted segments. <code>HLS.get_track_kid_from_init</code> returns it
|
||||
for the track, a reader of init segments (<code>HLS.init_reader(playlist, session)</code>) and that init segment.</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. When only one of the two systems issues the
|
||||
content key, also set <code>track.drm_preference</code> to it.</li>
|
||||
|
||||
Reference in New Issue
Block a user