mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 12:05:07 +00:00
Deployed 4f188b8 with MkDocs version: 1.6.1
This commit is contained in:
@@ -2866,6 +2866,8 @@ remote CDM:</p>
|
||||
so a host without the suffix points the requests at the wrong location. The symptom
|
||||
is <code>404</code> responses from the server rather than an obvious configuration error.</p>
|
||||
</div>
|
||||
<p>A pywidevine or pyplayready serve API can operate behind a reverse proxy or a CDN. Refer to
|
||||
<a href="../../reference/configuration/drm/#remote_cdm">Serve APIs behind a proxy</a>.</p>
|
||||
<h3 id="decrypt-labs-hosted-keyxtractor-api">Decrypt Labs (hosted KeyXtractor API)<a class="headerlink" href="#decrypt-labs-hosted-keyxtractor-api" title="Permanent link">¶</a></h3>
|
||||
<p>Set <code>type: decrypt_labs</code> to use Decrypt Labs' hosted KeyXtractor service, which
|
||||
includes an intelligent key-caching layer:</p>
|
||||
|
||||
@@ -2212,6 +2212,14 @@ matches, unshackle loads it as a local device file, in this order: <code><nam
|
||||
<p>For the two pywidevine/pyplayready backends, field names are read case-insensitively in both
|
||||
styles: <code>Device Type</code>/<code>device_type</code>, <code>System ID</code>/<code>system_id</code>, <code>Security Level</code>/<code>security_level</code>,
|
||||
<code>Host</code>/<code>host</code>, <code>Secret</code>/<code>secret</code>, <code>Device Name</code>/<code>device_name</code>.</p>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Serve APIs behind a proxy</p>
|
||||
<p>unshackle does not send upstream's <code>HEAD</code> request or examine the <code>Server</code> response
|
||||
header, so the server can operate behind a reverse proxy or a CDN that removes or
|
||||
changes that header. Thus a <code>host</code> that is not a serve API fails at the first licence
|
||||
request, not when unshackle loads the CDM. On a redirect to a different host or port,
|
||||
unshackle removes the <code>secret</code> from the request.</p>
|
||||
</div>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">PlayReady <code>host</code> needs a <code>/playready</code> suffix</p>
|
||||
<p>pyplayready's <code>RemoteCdm</code> treats <code>host</code> as a base URL and appends its own endpoint paths,
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user