Skip to content

Commit

Permalink
docs: Fix typo in Fairplay tutorial (shaka-project#3714)
Browse files Browse the repository at this point in the history
  • Loading branch information
coldshine committed Oct 25, 2021
1 parent 221637a commit ff98844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/fairplay.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ player.configure('drm.initDataTransform', (initData, initDataType) => {

// 'initData' is a buffer containing an 'skd://' URL as a UTF-8 string.
const skdUri = shaka.util.StringUtils.fromBytesAutoDetect(initData);
const contentId = getMyContentId(sdkUri);
const contentId = getMyContentId(skdUri);
const cert = player.drmInfo().serverCertificate;
return shaka.util.FairPlayUtils.initDataTransform(initData, contentId, cert);
});
Expand Down

0 comments on commit ff98844

Please sign in to comment.