Merge "Return key request type none after key rotation" into qt-dev am: 999a466275 am: 4690da2bcb
am: 4c9a3a6f02
Change-Id: Iddcac699401f64d920fcb8ff73053410019ec028
This commit is contained in:
@@ -443,10 +443,14 @@ CdmResponseType CdmSession::GenerateKeyRequestInternal(
|
||||
} else if (license_received_) {
|
||||
// A call to GenerateKeyRequest after the initial license has been received
|
||||
// is either a renewal/release request or a key rotation event
|
||||
if (init_data.contains_entitled_keys())
|
||||
if (init_data.contains_entitled_keys()) {
|
||||
key_request->message.clear();
|
||||
key_request->type = kKeyRequestTypeNone;
|
||||
key_request->url.clear();
|
||||
return license_parser_->HandleEmbeddedKeyData(init_data);
|
||||
else
|
||||
} else {
|
||||
return GenerateRenewalRequest(key_request);
|
||||
}
|
||||
} else {
|
||||
key_request->type = kKeyRequestTypeInitial;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user