Merge of usage reporting and license changes from WV CDM repo
* CdmSession unittest and license request time changes b/15914199 Merge of https://widevine-internal-review.googlesource.com/#/c/10597/ * Specify OEMCrypto API version in client capabilities b/15388863 Merge of https://widevine-internal-review.googlesource.com/#/c/10616/ * Report start and last play time in license request b/15995227 Merge of https://widevine-internal-review.googlesource.com/#/c/10617/ * Respect can_play flag b/15330338 Merge of https://widevine-internal-review.googlesource.com/#/c/10619/ * Restore offline session information b/16009274 Merge of https://widevine-internal-review.googlesource.com/#/c/10641/ Change-Id: I17fdc309efbc1d44385a86a368df11b1349b29c2
This commit is contained in:
@@ -287,12 +287,6 @@ message SignedMessage {
|
||||
|
||||
// This message is used to pass optional data on initial license issuance.
|
||||
message SessionInit {
|
||||
enum ReplayControl {
|
||||
NO_SESSION_USAGE = 0;
|
||||
NONCE_REQUIRED_AND_NEW_SESSION_USAGE = 1;
|
||||
NONCE_REQUIRED_OR_EXISTING_SESSION_USAGE = 2;
|
||||
}
|
||||
|
||||
optional bytes session_id = 1;
|
||||
optional bytes purchase_id = 2;
|
||||
// master_signing_key should be 128 bits in length.
|
||||
@@ -312,8 +306,6 @@ message SessionInit {
|
||||
// LicenseIdentfication::provider_session_token, and sent back in all
|
||||
// license renewal and release requests for the session thereafter.
|
||||
optional bytes provider_session_token = 7;
|
||||
// Replay control indicator which will be encoded into V9+ KeyControl blocks.
|
||||
optional ReplayControl replay_control = 8 [default = NO_SESSION_USAGE];
|
||||
}
|
||||
|
||||
// This message is used by the server to preserve and restore session state.
|
||||
@@ -415,6 +407,7 @@ message ClientIdentification {
|
||||
optional bool session_token = 2 [default = false];
|
||||
optional bool video_resolution_constraints = 3 [default = false];
|
||||
optional HdcpVersion max_hdcp_version = 4 [default = HDCP_NONE];
|
||||
optional uint32 oem_crypto_api_version = 5;
|
||||
}
|
||||
|
||||
// Type of factory-provisioned device root of trust. Optional.
|
||||
|
||||
Reference in New Issue
Block a user