2018-02-10 23:37:42 +00:00
|
|
|
|
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<!DOCTYPE html>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<html>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<head>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<meta charset="utf-8" />
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<title>Using Widevine Key Server — Shaka Packager documentation</title>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<link rel="stylesheet" href="../_static/sphinxdoc_new.css" type="text/css" />
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../_static/table_styling.css" />
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
|
|
|
|
<script src="../_static/jquery.js"></script>
|
|
|
|
|
<script src="../_static/underscore.js"></script>
|
|
|
|
|
<script src="../_static/doctools.js"></script>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<link rel="index" title="Index" href="../genindex.html" />
|
|
|
|
|
<link rel="search" title="Search" href="../search.html" />
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<link rel="next" title="Using PlayReady Key Server" href="playready.html" />
|
2018-08-20 17:47:59 +00:00
|
|
|
|
<link rel="prev" title="DRM" href="drm.html" />
|
2020-01-22 00:59:16 +00:00
|
|
|
|
</head><body>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="related" role="navigation" aria-label="related navigation">
|
|
|
|
|
<h3>Navigation</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li class="right" style="margin-right: 10px">
|
|
|
|
|
<a href="../genindex.html" title="General Index"
|
|
|
|
|
accesskey="I">index</a></li>
|
|
|
|
|
<li class="right" >
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<a href="playready.html" title="Using PlayReady Key Server"
|
2017-09-20 02:35:05 +00:00
|
|
|
|
accesskey="N">next</a> |</li>
|
|
|
|
|
<li class="right" >
|
2018-08-20 17:47:59 +00:00
|
|
|
|
<a href="drm.html" title="DRM"
|
2017-09-20 02:35:05 +00:00
|
|
|
|
accesskey="P">previous</a> |</li>
|
|
|
|
|
<li class="nav-item nav-item-0"><a href="../index.html">Shaka Packager documentation</a> »</li>
|
|
|
|
|
<li class="nav-item nav-item-1"><a href="tutorials.html" >Tutorials</a> »</li>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<li class="nav-item nav-item-2"><a href="drm.html" accesskey="U">DRM</a> »</li>
|
|
|
|
|
<li class="nav-item nav-item-this"><a href="">Using Widevine Key Server</a></li>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</ul>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
</div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
|
|
|
|
|
<div class="document">
|
|
|
|
|
<div class="documentwrapper">
|
|
|
|
|
<div class="bodywrapper">
|
|
|
|
|
<div class="body" role="main">
|
|
|
|
|
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<div class="section" id="using-widevine-key-server">
|
|
|
|
|
<h1>Using Widevine Key Server<a class="headerlink" href="#using-widevine-key-server" title="Permalink to this headline">¶</a></h1>
|
|
|
|
|
<p>The easiest way to generate Widevine protected content is to use Widevine Cloud
|
|
|
|
|
Service.</p>
|
|
|
|
|
<p>Shaka Packager can talk to Widevine Cloud Service or any key server that
|
|
|
|
|
implements <a class="reference external" href="http://bit.ly/2vTG4oo">Common Encryption API for Widevine DRM</a> to
|
|
|
|
|
fetch encryption keys.</p>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="section" id="synopsis">
|
|
|
|
|
<h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<p>Widevine Common Encryption API supports request validation using either AES or
|
|
|
|
|
RSA.</p>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<p>AES signing:</p>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ packager <stream_descriptor> ... \
|
2017-09-20 02:35:05 +00:00
|
|
|
|
--enable_widevine_encryption \
|
|
|
|
|
--key_server_url <key_server_url> \
|
|
|
|
|
--content_id <content_id> \
|
|
|
|
|
--signer <signer> --aes_signing_key <aes_signing_key> \
|
|
|
|
|
--aes_signing_iv <aes_signing_iv> \
|
|
|
|
|
[Other options, e.g. DASH options, HLS options]
|
|
|
|
|
</pre></div>
|
|
|
|
|
</div>
|
|
|
|
|
<p>RSA signing:</p>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ packager <stream_descriptor> ... \
|
2017-09-20 02:35:05 +00:00
|
|
|
|
--enable_widevine_encryption \
|
|
|
|
|
--key_server_url <key_server_url> \
|
|
|
|
|
--content_id <content_id> \
|
|
|
|
|
--signer <signer> --rsa_signing_key_path <rsa_signing_key_path> \
|
|
|
|
|
[Other options, e.g. DASH options, HLS options]
|
|
|
|
|
</pre></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="section" id="examples">
|
|
|
|
|
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<p>The examples below use the H264 streams created in <a class="reference internal" href="encoding.html"><span class="doc">Media Encoding</span></a>.</p>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<ul>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<li><p>Example with both DASH and HLS output:</p>
|
|
|
|
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ packager \
|
2017-09-20 02:35:05 +00:00
|
|
|
|
in=h264_baseline_360p_600.mp4,stream=audio,output=audio.mp4 \
|
|
|
|
|
in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p.mp4 \
|
|
|
|
|
in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4 \
|
|
|
|
|
in=h264_main_720p_3000.mp4,stream=video,output=h264_720p.mp4 \
|
|
|
|
|
in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4 \
|
|
|
|
|
--enable_widevine_encryption \
|
|
|
|
|
--key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \
|
|
|
|
|
--content_id 7465737420636f6e74656e74206964 \
|
|
|
|
|
--signer widevine_test \
|
|
|
|
|
--aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \
|
2018-08-16 00:35:22 +00:00
|
|
|
|
--aes_signing_iv d58ce954203b7c9a9a9d467f59839249 \
|
|
|
|
|
--mpd_output h264.mpd \
|
|
|
|
|
--hls_master_playlist_output h264_master.m3u8
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</pre></div>
|
|
|
|
|
</div>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
</li>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<li><p>Another example using ‘cbcs’ protection scheme:</p>
|
|
|
|
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ packager \
|
2018-02-10 23:37:42 +00:00
|
|
|
|
in=h264_baseline_360p_600.mp4,stream=audio,output=audio.mp4 \
|
|
|
|
|
in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p.mp4 \
|
|
|
|
|
in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4 \
|
|
|
|
|
in=h264_main_720p_3000.mp4,stream=video,output=h264_720p.mp4 \
|
|
|
|
|
in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4 \
|
|
|
|
|
--protection_scheme cbcs \
|
|
|
|
|
--enable_widevine_encryption \
|
|
|
|
|
--key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \
|
|
|
|
|
--content_id 7465737420636f6e74656e74206964 \
|
|
|
|
|
--signer widevine_test \
|
|
|
|
|
--aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \
|
2018-08-16 00:35:22 +00:00
|
|
|
|
--aes_signing_iv d58ce954203b7c9a9a9d467f59839249 \
|
|
|
|
|
--mpd_output h264.mpd \
|
|
|
|
|
--hls_master_playlist_output h264_master.m3u8
|
|
|
|
|
</pre></div>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<p>The examples above generate Widevine protection system by default. It can be
|
|
|
|
|
extended to support multi-drm with –protection_systems flag.</p>
|
|
|
|
|
<ul>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<li><p>Example with multi-drm (Widevine and PlayReady):</p>
|
|
|
|
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ packager \
|
2018-08-16 00:35:22 +00:00
|
|
|
|
in=h264_baseline_360p_600.mp4,stream=audio,output=audio.mp4 \
|
|
|
|
|
in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p.mp4 \
|
|
|
|
|
in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4 \
|
|
|
|
|
in=h264_main_720p_3000.mp4,stream=video,output=h264_720p.mp4 \
|
|
|
|
|
in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4 \
|
|
|
|
|
--enable_widevine_encryption \
|
|
|
|
|
--key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \
|
|
|
|
|
--content_id 7465737420636f6e74656e74206964 \
|
|
|
|
|
--signer widevine_test \
|
|
|
|
|
--aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \
|
|
|
|
|
--aes_signing_iv d58ce954203b7c9a9a9d467f59839249 \
|
|
|
|
|
--protection_systems Widevine,PlayReady
|
|
|
|
|
--mpd_output h264.mpd
|
2018-02-10 23:37:42 +00:00
|
|
|
|
</pre></div>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<div class="admonition note">
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<p class="admonition-title">Note</p>
|
|
|
|
|
<p>Users are responsible for setting up the license servers and managing keys
|
2018-08-16 00:35:22 +00:00
|
|
|
|
there unless they are using a cloud service provided by the DRM provider or
|
|
|
|
|
third_parties.</p>
|
|
|
|
|
</div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<p>Refer to
|
|
|
|
|
<a class="reference external" href="https://shaka-player-demo.appspot.com/docs/api/tutorial-drm-config.html">player setup</a>
|
|
|
|
|
on how to config the DRM in Shaka Player.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="section" id="widevine-test-credential">
|
|
|
|
|
<h2>Widevine test credential<a class="headerlink" href="#widevine-test-credential" title="Permalink to this headline">¶</a></h2>
|
|
|
|
|
<p>Here is the test crendential used in this tutorial.</p>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<dl class="field-list simple">
|
|
|
|
|
<dt class="field-odd">key_server_url</dt>
|
|
|
|
|
<dd class="field-odd"><p><a class="reference external" href="https://license.uat.widevine.com/cenc/getcontentkey/widevine_test">https://license.uat.widevine.com/cenc/getcontentkey/widevine_test</a></p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="field-even">signer</dt>
|
|
|
|
|
<dd class="field-even"><p>widevine_test</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="field-odd">aes_signing_key</dt>
|
|
|
|
|
<dd class="field-odd"><p>1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="field-even">aes_signing_iv</dt>
|
|
|
|
|
<dd class="field-even"><p>d58ce954203b7c9a9a9d467f59839249</p>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="admonition note">
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<p class="admonition-title">Note</p>
|
|
|
|
|
<p>The test credential is only meant for development. Please reach out to
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<a class="reference external" href="https://support.google.com/widevine/troubleshooter/6027072">Widevine</a> if
|
|
|
|
|
you need something for production use.</p>
|
|
|
|
|
</div>
|
2018-08-20 17:47:59 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="section" id="configuration-options">
|
|
|
|
|
<h2>Configuration options<a class="headerlink" href="#configuration-options" title="Permalink to this headline">¶</a></h2>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
<div class="section" id="drm-related-stream-descriptor-fields">
|
|
|
|
|
<h3>DRM related Stream descriptor fields<a class="headerlink" href="#drm-related-stream-descriptor-fields" title="Permalink to this headline">¶</a></h3>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<dl class="field-list simple">
|
|
|
|
|
<dt class="field-odd">skip_encryption=0|1</dt>
|
|
|
|
|
<dd class="field-odd"><p>Optional. Defaults to 0 if not specified. If it is set to 1, no encryption
|
|
|
|
|
of the stream will be made.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="field-even">drm_label</dt>
|
|
|
|
|
<dd class="field-even"><p>Optional value for custom DRM label, which defines the encryption key
|
2018-02-10 23:37:42 +00:00
|
|
|
|
applied to the stream. Typically values include AUDIO, SD, HD, UHD1, UHD2.
|
|
|
|
|
For raw key, it should be a label defined in –keys. If not provided, the
|
|
|
|
|
DRM label is derived from stream type (video, audio), resolutions, etc.
|
2020-01-22 00:59:16 +00:00
|
|
|
|
Note that it is case sensitive.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="section" id="general-encryption-options">
|
|
|
|
|
<h3>General encryption options<a class="headerlink" href="#general-encryption-options" title="Permalink to this headline">¶</a></h3>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<dl class="option-list">
|
|
|
|
|
<dt><kbd><span class="option">--protection_scheme <var><scheme></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Specify a protection scheme, ‘cenc’ or ‘cbc1’ or pattern-based protection
|
|
|
|
|
schemes ‘cens’ or ‘cbcs’.</p>
|
|
|
|
|
</dd>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<dt><kbd><span class="option">--crypt_byte_block</span></kbd></dt>
|
|
|
|
|
<dd><p>Specify the count of the encrypted blocks in the protection pattern, where
|
|
|
|
|
block is of size 16-bytes.</p>
|
|
|
|
|
<p>There are three common patterns (crypt_byte_block:skip_byte_block):
|
|
|
|
|
1:9 (default), 5:5, 10:0.</p>
|
|
|
|
|
<p>Apply to video streams with ‘cbcs’ and ‘cens’ protection schemes only;
|
|
|
|
|
ignored otherwise.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--skip_byte_block</span></kbd></dt>
|
|
|
|
|
<dd><p>Specify the count of the unencrypted blocks in the protection pattern.</p>
|
|
|
|
|
<p>Apply to video streams with ‘cbcs’ and ‘cens’ protection schemes only;
|
|
|
|
|
ignored otherwise.</p>
|
|
|
|
|
</dd>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<dt><kbd><span class="option">--vp9_subsample_encryption</span>, <span class="option">--novp9_subsample_encryption</span></kbd></dt>
|
|
|
|
|
<dd><p>Enable / disable VP9 subsample encryption. Enabled by default.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--clear_lead <var><seconds></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Clear lead in seconds if encryption is enabled.
|
|
|
|
|
Shaka Packager does not support partial encrypted segments, all the
|
|
|
|
|
segments including the partial segment overlapping with the initial
|
|
|
|
|
‘clear_lead’ seconds are not encrypted, with all the following segments
|
|
|
|
|
encrypted. If segment_duration is greater than ‘clear_lead’, then only the
|
|
|
|
|
first segment is not encrypted.
|
|
|
|
|
Default: 5</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--protection_systems</span></kbd></dt>
|
|
|
|
|
<dd><p>Protection systems to be generated. Supported protection systems include
|
2018-12-20 22:38:40 +00:00
|
|
|
|
Widevine, PlayReady, FairPlay, Marlin, and
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<a class="reference external" href="https://goo.gl/s8RIhr">CommonSystem</a>.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--playready_extra_header_data <var><string></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Extra XML data to add to PlayReady PSSH data. Can be specified even if
|
|
|
|
|
using another key source.</p>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2018-02-10 23:37:42 +00:00
|
|
|
|
</div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="section" id="widevine-encryption-options">
|
|
|
|
|
<h3>Widevine encryption options<a class="headerlink" href="#widevine-encryption-options" title="Permalink to this headline">¶</a></h3>
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<dl class="option-list">
|
|
|
|
|
<dt><kbd><span class="option">--enable_widevine_encryption</span></kbd></dt>
|
|
|
|
|
<dd><p>Enable encryption with Widevine key server. User should provide either
|
2018-02-10 23:37:42 +00:00
|
|
|
|
AES signing key (–aes_signing_key, –aes_signing_iv) or RSA signing key
|
2018-08-16 00:35:22 +00:00
|
|
|
|
(–rsa_signing_key_path). This generates Widevine protection system if
|
|
|
|
|
–protection_systems is not specified. Use –protection_systems to generate
|
2020-01-22 00:59:16 +00:00
|
|
|
|
multiple protection systems.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--enable_widevine_decryption</span></kbd></dt>
|
|
|
|
|
<dd><p>Enable decryption with Widevine key server. User should provide either
|
2018-02-10 23:37:42 +00:00
|
|
|
|
AES signing key (–aes_signing_key, –aes_signing_iv) or RSA signing key
|
2020-01-22 00:59:16 +00:00
|
|
|
|
(–rsa_signing_key_path).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--key_server_url <var><url></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Key server url. Required for Widevine encryption and decryption.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--content_id <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Content identifier that uniquely identifies the content.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--policy <var><policy></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The name of a stored policy, which specifies DRM content rights.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--max_sd_pixels <var><pixels></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The video track is considered SD if its max pixels per frame is no higher
|
|
|
|
|
than <em>max_sd_pixels</em>. Default: 442368 (768 x 576).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--max_hd_pixels <var><pixels></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The video track is considered HD if its max pixels per frame is higher than
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<em>max_sd_pixels</em>, but no higher than <em>max_hd_pixels</em>. Default: 2073600
|
2020-01-22 00:59:16 +00:00
|
|
|
|
(1920 x 1080).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--max_uhd1_pixels <var><pixels></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The video track is considered UHD1 if its max pixels per frame is higher
|
2017-09-20 02:35:05 +00:00
|
|
|
|
than <em>max_hd_pixels</em>, but no higher than <em>max_uhd1_pixels</em>. Otherwise it is
|
2020-01-22 00:59:16 +00:00
|
|
|
|
UHD2. Default: 8847360 (4096 x 2160).</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--signer <var><signer></var></span></kbd></dt>
|
|
|
|
|
<dd><p>The name of the signer.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--aes_signing_key <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>AES signing key in hex string. <em>aes_signing_iv</em> is required if
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<em>aes_signing_key</em> is specified. This option is exclusive with
|
2020-01-22 00:59:16 +00:00
|
|
|
|
<em>rsa_signing_key_path</em>.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--aes_signing_iv <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>AES signing iv in hex string.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--rsa_signing_key_path <var><file path></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Path to the file containing PKCS#1 RSA private key for request signing.
|
|
|
|
|
This option is exclusive with <em>aes_signing_key</em>.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--crypto_period_duration <var><seconds></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Defines how often key rotates. If it is non-zero, key rotation is enabled.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt><kbd><span class="option">--group_id <var><hex></var></span></kbd></dt>
|
|
|
|
|
<dd><p>Identifier for a group of licenses.</p>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<div class="clearer"></div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
|
|
|
<div class="sphinxsidebarwrapper">
|
|
|
|
|
<h3><a href="../index.html">Table of Contents</a></h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a class="reference internal" href="#">Using Widevine Key Server</a><ul>
|
|
|
|
|
<li><a class="reference internal" href="#synopsis">Synopsis</a></li>
|
|
|
|
|
<li><a class="reference internal" href="#examples">Examples</a></li>
|
|
|
|
|
<li><a class="reference internal" href="#widevine-test-credential">Widevine test credential</a></li>
|
|
|
|
|
<li><a class="reference internal" href="#configuration-options">Configuration options</a><ul>
|
|
|
|
|
<li><a class="reference internal" href="#drm-related-stream-descriptor-fields">DRM related Stream descriptor fields</a></li>
|
|
|
|
|
<li><a class="reference internal" href="#general-encryption-options">General encryption options</a></li>
|
|
|
|
|
<li><a class="reference internal" href="#widevine-encryption-options">Widevine encryption options</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<h4>Previous topic</h4>
|
|
|
|
|
<p class="topless"><a href="drm.html"
|
|
|
|
|
title="previous chapter">DRM</a></p>
|
|
|
|
|
<h4>Next topic</h4>
|
|
|
|
|
<p class="topless"><a href="playready.html"
|
|
|
|
|
title="next chapter">Using PlayReady Key Server</a></p>
|
|
|
|
|
<div role="note" aria-label="source link">
|
|
|
|
|
<h3>This Page</h3>
|
|
|
|
|
<ul class="this-page-menu">
|
|
|
|
|
<li><a href="../_sources/tutorials/widevine.rst.txt"
|
|
|
|
|
rel="nofollow">Show Source</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="searchbox" style="display: none" role="search">
|
|
|
|
|
<h3 id="searchlabel">Quick search</h3>
|
|
|
|
|
<div class="searchformwrapper">
|
|
|
|
|
<form class="search" action="../search.html" method="get">
|
|
|
|
|
<input type="text" name="q" aria-labelledby="searchlabel" />
|
|
|
|
|
<input type="submit" value="Go" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script>$('#searchbox').show(0);</script>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
<div class="clearer"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="related" role="navigation" aria-label="related navigation">
|
|
|
|
|
<h3>Navigation</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li class="right" style="margin-right: 10px">
|
|
|
|
|
<a href="../genindex.html" title="General Index"
|
|
|
|
|
>index</a></li>
|
|
|
|
|
<li class="right" >
|
2018-08-16 00:35:22 +00:00
|
|
|
|
<a href="playready.html" title="Using PlayReady Key Server"
|
2017-09-20 02:35:05 +00:00
|
|
|
|
>next</a> |</li>
|
|
|
|
|
<li class="right" >
|
2018-08-20 17:47:59 +00:00
|
|
|
|
<a href="drm.html" title="DRM"
|
2017-09-20 02:35:05 +00:00
|
|
|
|
>previous</a> |</li>
|
|
|
|
|
<li class="nav-item nav-item-0"><a href="../index.html">Shaka Packager documentation</a> »</li>
|
|
|
|
|
<li class="nav-item nav-item-1"><a href="tutorials.html" >Tutorials</a> »</li>
|
2021-04-10 04:00:37 +00:00
|
|
|
|
<li class="nav-item nav-item-2"><a href="drm.html" >DRM</a> »</li>
|
|
|
|
|
<li class="nav-item nav-item-this"><a href="">Using Widevine Key Server</a></li>
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer" role="contentinfo">
|
|
|
|
|
© Copyright 2017, Google.
|
2021-04-10 04:00:37 +00:00
|
|
|
|
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.4.3.
|
2017-09-20 02:35:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|