Handle key rotation
[ Merge of http://go/wvgerrit/77049 ] Entitlement PSSHs can now be provided in follow on key generation requests to cause keys to be rotated without needing a license exchange. Bug: 128462397 Test: WV unit/integration tests, Netflix and GPlay tests, GtsMediaDrmTests Change-Id: I6ed0901a35c498240f42e405a522d82ea8dce2f7
This commit is contained in:
@@ -34,6 +34,7 @@ class InitializationData {
|
||||
CdmHlsMethod hls_method() const { return hls_method_; }
|
||||
std::vector<video_widevine::WidevinePsshData_EntitledKey> ExtractWrappedKeys()
|
||||
const;
|
||||
bool contains_entitled_keys() const { return contains_entitled_keys_; }
|
||||
|
||||
private:
|
||||
bool SelectWidevinePssh(const CdmInitData& init_data,
|
||||
@@ -86,6 +87,7 @@ class InitializationData {
|
||||
bool is_hls_;
|
||||
bool is_webm_;
|
||||
bool is_audio_;
|
||||
bool contains_entitled_keys_;
|
||||
|
||||
std::vector<uint8_t> hls_iv_;
|
||||
CdmHlsMethod hls_method_;
|
||||
|
||||
Reference in New Issue
Block a user