Skip to content

Commit

Permalink
fix: use new method signature for requestPlayreadyLicense from #81 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
squarebracket authored and misteroneill committed May 7, 2019
1 parent 4d91929 commit 36d5f9c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/eme.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,7 @@ const setMediaKeys = ({
};

const defaultPlayreadyGetLicense = (keySystemOptions) => (emeOptions, keyMessage, callback) => {
requestPlayreadyLicense(keySystemOptions, keyMessage, emeOptions, (err, response, responseBody) => {
if (err) {
callback(err);
return;
}

callback(null, responseBody);
});
requestPlayreadyLicense(keySystemOptions, keyMessage, emeOptions, callback);
};

const defaultGetLicense = (keySystemOptions) => (emeOptions, keyMessage, callback) => {
Expand Down

0 comments on commit 36d5f9c

Please sign in to comment.