Cherry-pick bug fixes from CDM main branch.
* Split device cert declaration from definition. * Fix and rename CdmApi?Test.TimeTest. * Fix max HDCP setting. Change-Id: Idf0aea5c953a08c38a8beb20ec8ccc210e33f67a
This commit is contained in:
@@ -295,6 +295,10 @@ bool CdmLicense::PrepareKeyRequest(const InitializationData& init_data,
|
||||
ClientIdentification_ClientCapabilities_HdcpVersion_HDCP_V2_2);
|
||||
break;
|
||||
case CryptoSession::kOemCryptoNoHdcpDeviceAttached:
|
||||
client_capabilities->set_max_hdcp_version(
|
||||
video_widevine_server::sdk::
|
||||
ClientIdentification_ClientCapabilities_HdcpVersion_HDCP_NO_DIGITAL_OUTPUT);
|
||||
break;
|
||||
default:
|
||||
LOGW(
|
||||
"CdmLicense::PrepareKeyRequest: unexpected HDCP max capability "
|
||||
|
||||
@@ -129,6 +129,7 @@ message License {
|
||||
HDCP_V2 = 2;
|
||||
HDCP_V2_1 = 3;
|
||||
HDCP_V2_2 = 4;
|
||||
HDCP_NO_DIGITAL_OUTPUT = 0xff;
|
||||
}
|
||||
optional HDCP hdcp = 1 [default = HDCP_NONE];
|
||||
|
||||
@@ -401,6 +402,7 @@ message ClientIdentification {
|
||||
HDCP_V2 = 2;
|
||||
HDCP_V2_1 = 3;
|
||||
HDCP_V2_2 = 4;
|
||||
HDCP_NO_DIGITAL_OUTPUT = 0xff;
|
||||
}
|
||||
|
||||
optional bool client_token = 1 [default = false];
|
||||
|
||||
Reference in New Issue
Block a user