Source release 14.0.0
This commit is contained in:
@@ -127,6 +127,16 @@ class CDM_EXPORT Cdm : public ITimerClient {
|
||||
kReleased = 5,
|
||||
} KeyStatus;
|
||||
|
||||
// These are the possible HDCP levels supported by Widevine.
|
||||
// For ease of comparison, these values are kept in ascending order by version
|
||||
// number.
|
||||
typedef enum {
|
||||
kHdcp1_x = 0,
|
||||
kHdcp2_0 = 1,
|
||||
kHdcp2_1 = 2,
|
||||
kHdcp2_2 = 3,
|
||||
} HdcpVersion;
|
||||
|
||||
// Permissible usages for a key. Returned as a set of flags; multiple
|
||||
// flags may be set. The specific settings are defined in the license
|
||||
// and the OEMCrypto Key Control Block. The CDM uses settings in the
|
||||
@@ -187,7 +197,8 @@ class CDM_EXPORT Cdm : public ITimerClient {
|
||||
const std::string& message) = 0;
|
||||
|
||||
// There has been a change in the keys in the session or their status.
|
||||
virtual void onKeyStatusesChange(const std::string& session_id) = 0;
|
||||
virtual void onKeyStatusesChange(const std::string& session_id,
|
||||
bool has_new_usable_key) = 0;
|
||||
|
||||
// A remove() operation has been completed.
|
||||
virtual void onRemoveComplete(const std::string& session_id) = 0;
|
||||
@@ -406,6 +417,11 @@ class CDM_EXPORT Cdm : public ITimerClient {
|
||||
// CDM's current IStorage object.
|
||||
virtual Status deleteAllUsageRecords() = 0;
|
||||
|
||||
// Checks whether the device is capable of supporting a given HDCP version.
|
||||
// If successful, |key_status| is set to either kUsable or kOutputRestricted.
|
||||
virtual Status getStatusForHdcpVersion(HdcpVersion hdcp,
|
||||
KeyStatus* key_status) = 0;
|
||||
|
||||
// Creates a new session.
|
||||
// Do not use this to load an existing persistent session (use load()).
|
||||
// If successful, the session_id is returned via |sessionId|.
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
// Widevine CE CDM Version
|
||||
#define CDM_VERSION "v3.5.0-0-gc0ea5d51-ce"
|
||||
#define CDM_VERSION "14.0.0"
|
||||
#define EME_VERSION "https://www.w3.org/TR/2017/REC-encrypted-media-20170918"
|
||||
|
||||
Reference in New Issue
Block a user