6001 - Shaka Error Drm.requested_key_system_config_unavailable () =link= Link
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.configure({ drm: { servers: { 'com.widevine.alpha': 'https://license.arthouse.com/widevine' } } }); The problem? The manifest file for Cybernetic Vampire III (and several other 4K remasters) contained multiple DRM schemes. But the player was asking for Widevine. When Widevine wasn't available (or the license server was down for that key system), Shaka threw the REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE error because it had no fallback. It was like ordering pizza only from a
Maya was a software engineer for a small but ambitious streaming startup called "ArtHouse Stream." Their specialty was rare, cult classic films. One Friday night, she got a frantic call from her boss. The manifest file for Cybernetic Vampire III (and
"The site is broken! Every time someone tries to watch Cybernetic Vampire III , they get a black screen and error code 6001," he yelled. "Our biggest subscriber, a film critic named Dr. Reid, is furious. Fix it." Maya was a software engineer for a small
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:
Maya opened her laptop and pulled up the logs. The error was specific: 6001 - shaka error drm.requested_key_system_config_unavailable She knew Shaka Player—it was the heart of their video system, a powerful JavaScript library for adaptive streaming. And "DRM" meant Digital Rights Management, the security that prevented people from screen-recording Cybernetic Vampire III and uploading it to social media.
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.