Support Offline Licenses
Bug: 8621588 Merge of the following CLs from the Widevine CDM repository: https://widevine-internal-review.googlesource.com/#/c/5602/ https://widevine-internal-review.googlesource.com/#/c/5431/ https://widevine-internal-review.googlesource.com/#/c/5660/ Change-Id: If37940e2535e1a1eca95e4394d8cf9bf689e9c3a
This commit is contained in:
@@ -44,6 +44,10 @@ void LicenseRequest::GetDrmMessage(const std::string& response,
|
||||
if (drm_msg_pos != std::string::npos) {
|
||||
drm_msg = response.substr(drm_msg_pos);
|
||||
} else {
|
||||
// TODO(edwinwong, rfrias): hack to get HTTP message body out for
|
||||
// non-Google Play webservers. Need to clean this up. Possibly test
|
||||
// for GLS and decide which part is the drm message
|
||||
drm_msg = response.substr(header_end_pos);
|
||||
LOGE("drm msg not found");
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user