Deployed 3bdca22b with MkDocs version: 1.6.1

This commit is contained in:
2026-12-04 23:35:53 +00:00
parent 52a6d28dec
commit 0ddd1d508a
8 changed files with 258 additions and 195 deletions
+7 -7
View File
@@ -2149,7 +2149,8 @@ licenses the remote session.
On a server, an API key can replace the entry for a service with its own (see
<a href="../services/#serve"><code>serve</code></a>).
With only the top-level <code>default</code> entry, the server CDM licenses when the API key has it. Set
<code>server_cdm: true</code> on the server entry to keep a per-service entry for local runs only. See
<code>server_cdm: true</code> on the server entry to keep a per-service entry for local runs only. Its device
then licenses only a track that the server refuses or fails to license. See
<a href="../services/#remote_services"><code>remote_services</code></a>.</p>
<div class="language-yaml 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="nt">cdm</span><span class="p">:</span>
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="nt">default</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">chromecdm_l3</span>
@@ -2220,7 +2221,7 @@ the default device of the plugin when its entry names no device of that system.<
<tr>
<td><code>custom_api</code></td>
<td>Fully YAML-configurable remote API</td>
<td><code>host</code> (required), <code>device</code>, <code>auth</code>, <code>endpoints</code>, <code>request_mapping</code>, <code>response_mapping</code>, <code>caching</code>, <code>timeout</code> (<a href="#remote-cdm-custom-api">fields</a>)</td>
<td><code>host</code> (required), <code>device</code>, <code>auth</code>, <code>endpoints</code>, <code>request_mapping</code>, <code>response_mapping</code>, <code>timeout</code> (<a href="#remote-cdm-custom-api">fields</a>)</td>
</tr>
<tr>
<td><em>(none)</em>, <code>Device Type: PLAYREADY</code></td>
@@ -2343,11 +2344,6 @@ configuration error.</p>
<td>Per endpoint: <code>fields</code>, <code>transforms</code>, <code>response_types</code>, <code>success_conditions</code>, <code>error_fields</code>, <code>key_fields</code></td>
</tr>
<tr>
<td><code>caching</code></td>
<td>dict</td>
<td><code>enabled</code>, <code>use_vaults</code>, <code>check_cached_first</code></td>
</tr>
<tr>
<td><code>legacy</code></td>
<td>dict</td>
<td>Legacy mode options.</td>
@@ -2394,6 +2390,10 @@ service tag case-insensitively and uses the <code>default</code> entry as the fa
<p>unshackle decrypts a stereoscopic 3D (MV-HEVC) track with mp4decrypt whatever this setting says.
shaka-packager refuses its Dolby Vision configuration (version 3), and before v3.5.0 it also drops
the boxes of the second view.</p>
<p>unshackle also uses mp4decrypt, whatever this setting says, for a fragmented track whose first
<code>moof</code> gives a base data offset in its <code>tfhd</code> or has a <code>trun</code> with no data offset, as
<code>MP4Box -frag</code> writes. shaka-packager reads every sample offset from the start of the <code>moof</code>, so
it writes noise for such a track.</p>
<p>mp4decrypt finds a content key by the KID in the first <code>sinf</code> box of the track. When that box
has no CENC <code>tenc</code> (for example, a PIFF <code>sinf</code> before the CENC one), unshackle also gives
mp4decrypt the content key of that KID by track ID. When mp4decrypt copies a track through
+10 -1
View File
@@ -2125,7 +2125,10 @@ the result to the service as <code>self.config</code>. A nested config key repla
other values in the same section stay.</p>
<p>Over <code>--remote</code>, the server builds the service from its own config. The client sends only the
config keys that the service lists for a client identity, see
<a href="../../../dev/rest-api/remote-sessions/#your-own-device-identity">your own device identity</a>.
<a href="../../../dev/rest-api/remote-sessions/#your-own-device-identity">your own device identity</a>,
and the strings, numbers and booleans of its <code>preferences</code> block. Each preference that you set
replaces the server's value for that config key, in every licensing mode, see
<a href="../../../dev/rest-api/remote-sessions/#your-preferences">your preferences</a>.
For every other setting, the value in the server's config applies.</p>
<p>User- or device-specific values (API keys, account IDs, device attributes) belong in this block
rather than in the service's own <code>config.yaml</code>, which holds shared defaults. See
@@ -2216,6 +2219,12 @@ applies to remote runs:</p>
</span></code></pre></div>
<p>When the server refuses the server CDM for a service whose <code>cdm</code> entry loaded the device,
unshackle logs the fallback to that device as info, not as a warning.</p>
<p>The same device licenses a track when the server licence for that track fails, for example with a
server error or an answer with no content key for the track. unshackle logs one info line that
gives the server failure and the device. Without a <code>cdm</code> entry for the service that names the
loaded device, a failed server licence stops the run with one <code>DRM_ERROR</code> line: unshackle never
falls back to the device of the <code>default</code> entry. When the fallback device also fails, the run
stops at the licence step of that track.</p>
<p>The server has the last word. When it keeps the server CDM for a remote session that your
device was to license, unshackle shows a warning. This occurs with a server that does not read
your choice, and with a service option that runs the remote session on the server's device.</p>