shaka-packager/packager
KongQun Yang 1bf1ec2445 Add multi-key support in fixed/raw keys
The keys can be specified in --keys option, with the form of
  label=<label>:key_id=<32-digit hex string>:key=<32-digit hex string>,label=...

There can be multiple "label=..." block. The DRM label can be one
of "AUDIO, SD, HD, UHD1, UHD2" or a custom label.

Mark --key and --key_id as deprecated. We can achieve the same result
with --keys=label=:key_id=<key_id>:key=<key>.

Also add a new optional field in stream descriptor: drm_label, which
is used to overwrite the internally generated DRM label for the stream.
If not provided, the DRM label is generated automatically based on
audio/video information, e.g. resolution.

Code changes:
- Merged RawKeyEncryptionParams and RawKeyDecryptionParams into
  RawKeyParams.
- Make FixedKeySource accepts RawKeyParams as input.

Change-Id: Ic8c2f071cc71188e13f14bc6396fc2b3ffa5cac6
2017-10-24 21:04:49 +00:00
..
app Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
file Creates directories in the output path if not exist 2017-10-11 20:19:51 +00:00
hls [HLS] Fix single segment ULR isn't respecting folder location 2017-10-11 00:14:09 +00:00
media Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
mpd [HLS] Fix segment URL isn't respecting folder locations 2017-09-18 19:11:42 +00:00
testing Enable C++11 in gtest 2017-07-17 20:14:23 +00:00
third_party Include /etc/ssl/ca-bundle.pem in curl ca bundle 2017-08-04 12:28:02 -07:00
tools [pssh-box] Support generating Widevine PSSH without content-id 2017-10-18 21:38:23 +00:00
version Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
common.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
packager.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
packager.gyp Made Trick Play A 1:1 Handler 2017-09-26 08:25:04 -07:00
packager.h Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
packager_test.cc Add support for callback file 2017-09-07 19:26:26 +00:00
protoc.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
status.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_test_util.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_unittest.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00