Source release 18.1.0

This commit is contained in:
John "Juce" Bruce
2023-06-23 15:45:08 -07:00
parent 2baa7c6e2b
commit b2c35151ad
2074 changed files with 196004 additions and 427059 deletions

View File

@@ -59,6 +59,9 @@ class LicenseHolder {
// Load the license response into the CDM engine. A call to FetchLicense()
// must be made first.
void LoadLicense();
// Attempt to load the license response into the CDM engine, but expect a
// failure.
void FailLoadLicense();
// Reload the license. Call OpenSession() before calling
// ReloadLicense(). Also, the key_set_id must have been set previously. The
// key_set_id is set by calling LoadLicense(), or by calling set_key_set_id().
@@ -83,7 +86,7 @@ class LicenseHolder {
// Try to decrypt some random data, but expect failure. The failure may
// be either the expected_status, or NEED_KEY. We allow NEED_KEY in case
// the server recognized that we cannot support the given key.
void FailDecrypt(const KeyId& key_id, CdmResponseType expected_status);
void FailDecrypt(const KeyId& key_id, CdmResponseEnum expected_status);
const std::string& content_id() const { return content_id_; }
void set_content_id(const std::string& content_id) {