Skip to content

Commit

Permalink
fix(Demo): Allow com.apple.fps.1_0 in the custom DRM System field (#5600
Browse files Browse the repository at this point in the history
)
  • Loading branch information
avelad authored Sep 5, 2023
1 parent d021d6f commit ab86000
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions demo/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,14 @@ shakaDemo.Custom = class {
const licenseServerURL = licenseServerUrlInput.value;
const customDRMSystem = customDrmSystemInput.value;
if (licenseServerURL) {
// Make a license server entry for every common DRM plugin.
assetInProgress.licenseServers.clear();
for (const drmSystem of shakaDemo.Main.commonDrmSystems) {
assetInProgress.licenseServers.set(drmSystem, licenseServerURL);
}
if (customDRMSystem) {
// Make a custom entry too.
assetInProgress.licenseServers.set(customDRMSystem, licenseServerURL);
} else {
// Make a license server entry for every common DRM plugin.
for (const drmSystem of shakaDemo.Main.commonDrmSystems) {
assetInProgress.licenseServers.set(drmSystem, licenseServerURL);
}
}
} else {
assetInProgress.licenseServers.clear();
Expand Down

0 comments on commit ab86000

Please sign in to comment.