shaka-packager/packager/media
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
..
base Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
chunking Separate MediaHandlerTestBase From FakeMediaHandler 2017-09-25 16:41:06 -07:00
codecs Make NaluReader skip encrypted portion 2017-06-22 22:09:59 +00:00
crypto Change MediaSample::CopyFrom to MediaSample::Clone 2017-09-29 09:58:39 -07:00
demuxer Separate MediaHandlerTestBase From FakeMediaHandler 2017-09-25 16:41:06 -07:00
event Move Muxer Creation To Own Method 2017-09-11 12:23:07 -07:00
formats Fix WebM parsing crash when the source content contains color elements 2017-10-06 22:48:04 +00:00
origin Added Origin Handler 2017-08-18 09:20:10 -07:00
public Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
replicator Made Trick Play A 1:1 Handler 2017-09-26 08:25:04 -07:00
test Integrate packager top level library 2017-06-13 13:40:26 -07:00
trick_play Change MediaSample::CopyFrom to MediaSample::Clone 2017-09-29 09:58:39 -07:00