6001 - Shaka Error — Drm.requested_key_system_config_unavailable () !!link!!
The next morning, Maya documented the incident for her team:
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: The next morning, Maya documented the incident for
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: The next morning