mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2026-04-05 04:41:01 +00:00
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