6001 - Shaka Error Drm.requested_key_system_config_unavailable () -
It was like ordering pizza only from a store that was closed, rather than calling the other pizza place two blocks away. Maya modified the configuration to be flexible. She added all the major DRM key systems the content might use, and importantly, she set a priority order:
player.getNetworkingEngine().registerRequestFilter((type, request) => { if (type === shaka.net.NetworkingEngine.RequestType.LICENSE) { // Ensure the correct license server is used per key system if (request.uris[0].includes('widevine') && !window.navigator.requestMediaKeySystemAccess) { request.uris[0] = request.uris[0].replace('widevine', 'playready'); } } }); Finally, she added a user-friendly message for when all DRM systems fail: It was like ordering pizza only from a
And from that day on, ArtHouse Stream never saw the 6001 error again—except once, when a user tried to watch a movie on a 2012 smart TV. But that's a story for another night. But that's a story for another night
The error message translated to: "The video player asked the browser for a specific DRM system to unlock the movie, but the browser said, 'I don't have that, and you didn't give me a backup plan.'" Maya opened her browser's developer console and replicated the error. She saw the player trying to initialize a DRM system called "com.widevine.alpha" (the standard for Chrome and Firefox) but failing because the video file was actually encrypted for a different system: "com.microsoft.playready" (common in older Edge browsers). but the browser said