Skip to content

Commit

Permalink
test: Fix PlayReady server URL syntax (#5190)
Browse files Browse the repository at this point in the history
The padding on the base64-encoded content key was missing from the URL.
This did not show up until I tested on Tizen.
  • Loading branch information
joeyparrish committed Apr 27, 2023
1 parent a180b28 commit fb4da08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/media/drm_engine_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('DrmEngine', () => {
config.servers['com.widevine.alpha'] =
'https://cwip-shaka-proxy.appspot.com/specific_key?blodJidXR9eARuql0dNLWg=GX8m9XLIZNIzizrl0RTqnA';
config.servers['com.microsoft.playready'] =
'https://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(kid:6e5a1d26-2757-47d7-8046-eaa5d1d34b5a,contentkey:GX8m9XLIZNIzizrl0RTqnA,sl:150)';
'https://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(kid:6e5a1d26-2757-47d7-8046-eaa5d1d34b5a,contentkey:GX8m9XLIZNIzizrl0RTqnA==,sl:150)';
drmEngine.configure(config);

manifest = shaka.test.ManifestGenerator.generate((manifest) => {
Expand Down
2 changes: 1 addition & 1 deletion test/test/util/test_scheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ const axinomDrmServers = {
'com.widevine.alpha':
'https://cwip-shaka-proxy.appspot.com/specific_key?blodJidXR9eARuql0dNLWg=GX8m9XLIZNIzizrl0RTqnA',
'com.microsoft.playready':
'https://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(kid:6e5a1d26-2757-47d7-8046-eaa5d1d34b5a,contentkey:GX8m9XLIZNIzizrl0RTqnA,sl:150)',
'https://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(kid:6e5a1d26-2757-47d7-8046-eaa5d1d34b5a,contentkey:GX8m9XLIZNIzizrl0RTqnA==,sl:150)',
};

/** @type {TextMetadataType} */
Expand Down

0 comments on commit fb4da08

Please sign in to comment.