shaka-packager/packager/app
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
..
test Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
crypto_flags.cc Rename webm_subsample_encryption flag to vp9_subsample_encryption 2017-03-30 20:36:43 +00:00
crypto_flags.h Rename webm_subsample_encryption flag to vp9_subsample_encryption 2017-03-30 20:36:43 +00:00
fixed_key_encryption_flags.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
fixed_key_encryption_flags.h Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
gflags_hex_bytes.cc Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
gflags_hex_bytes.h Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
hls_flags.cc Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
hls_flags.h Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
libcrypto_threading.cc Integrate packager top level library 2017-06-13 13:40:26 -07:00
libcrypto_threading.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
mpd_flags.cc Integrate packager top level library 2017-06-13 13:40:26 -07:00
mpd_flags.h Deprecate availability_time_offset MPD flag 2017-05-22 23:14:16 +00:00
mpd_generator.cc Fix --version in drive programs 2016-12-08 14:45:05 -08:00
mpd_generator_flags.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_flags.cc Integrate packager top level library 2017-06-13 13:40:26 -07:00
muxer_flags.h Integrate packager top level library 2017-06-13 13:40:26 -07:00
packager_main.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
packager_util.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
packager_util.h Made Trick Play A 1:1 Handler 2017-09-26 08:25:04 -07:00
playready_key_encryption_flags.cc Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
playready_key_encryption_flags.h Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
retired_flags.cc The retired availability_time_offset flag should have value 0 2017-06-01 14:55:16 -07:00
retired_flags.h Deprecate availability_time_offset MPD flag 2017-05-22 23:14:16 +00:00
stream_descriptor.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
stream_descriptor.h Integrate packager top level library 2017-06-13 13:40:26 -07:00
validate_flag.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
validate_flag.h Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
vlog_flags.cc Enable verbose logging through --v or --vmodule 2015-10-28 22:15:50 +00:00
vlog_flags.h Enable verbose logging through --v or --vmodule 2015-10-28 22:15:50 +00:00
widevine_encryption_flags.cc Cleanup README 2017-09-19 18:44:39 -07:00
widevine_encryption_flags.h Adding the ability to provide the group_id in Widevine Cenc requests 2017-07-20 09:46:25 -07:00