Skip to content

Fix issue with codec definition and EME

Vinay Rosenberg requested to merge github/fork/epiclabsDASH/fix-codecs into development

Created by: epiclabsDASH

Fix an issue that appeared after merging #2328.

Although passing resolution (with/height) information to isTypeSupported method is fully valid, seems EME has some issues with that. Both Chrome and Firefox fails when selecting the keysystem if we use a MediaKeySystemMediaCapability whose contentType field includes width/height information. Following spec (https://www.w3.org/TR/encrypted-media/#bib-RFC6381, https://tools.ietf.org/html/rfc6381) I don't see any indication that says width or height parameters could be allowed parameters for contentType field.

This issue is making any stream using DRM not working.

Merge request reports