Skip to content

Commit

Permalink
Fix PlayReady unpacking on Chromecast
Browse files Browse the repository at this point in the history
Closes #852

Change-Id: Ic3d87e5ad2339ff0a03ce550a1930b99b22ba8ca
  • Loading branch information
joeyparrish committed Jun 6, 2017
1 parent 9d9d1c7 commit 6721ab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/media/drm_engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,8 @@ shaka.media.DrmEngine.prototype.sendLicenseRequest_ = function(event) {
request.method = 'POST';
// NOTE: allowCrossSiteCredentials can be set in a request filter.

if (this.currentDrmInfo_.keySystem == 'com.microsoft.playready') {
if (this.currentDrmInfo_.keySystem == 'com.microsoft.playready' ||
this.currentDrmInfo_.keySystem == 'com.chromecast.playready') {
this.unpackPlayReadyRequest_(request);
}

Expand Down

0 comments on commit 6721ab2

Please sign in to comment.