Address VTS test failures

[ Merge of http://go/wvgerrit/64402 ]

Changes to support PSSHs for single content and entitlement licenses in the
same PSSH tightened up validation of PSSHs. Some of the test PSSH had
incorrect length fields which led to VTS test failures.

b/117265150
b/117616791
b/117616861
Test: VtsHalDrmV1_0Target

Change-Id: I86354817eb9060a7bcea774583c4d4155a400fff
This commit is contained in:
Rahul Frias
2018-10-22 12:09:06 -07:00
parent e2a1682b99
commit d44294b663

View File

@@ -19,7 +19,6 @@ using wvcdm::b2a_hex;
using wvcdm::LicenseRequest;
using wvcdm::UrlRequest;
namespace widevine_vts {
const int kHttpOk = 200;
@@ -126,7 +125,7 @@ namespace widevine_vts {
{
const string serverUrl = "http://widevine-proxy.appspot.com/proxy";
const vector<uint8_t> initData = a2b_hex(
"00000040" // blob size
"00000042" // blob size
"70737368" // "pssh"
"00000000" // flags
"edef8ba979d64acea3c827dcd51d21ed" // Widevine system id