navigator.requestMediaKeySystemAccess() will soon require MediaKeySystemCapabilities as configurations

Published: | Categories: Audio & Video


In order to adhere the Encrypted Media Extensions (EME) spec, the navigator.requestMediaKeySystemAccess method will soon require developers to supply at least one MediaKeySystemConfiguration object containing either audioCapabilities or videoCapabilities, which must include contentType with codecs specified. Invalid requests raise a warning in the Web Console on Firefox 55, and will be rejected in the near future.