
We were previously using the container format of the media being played as the mimeType generating key requests, but this is not always correct. As an example, where a manifest contains webm streams but specifies initialization data using cenc:pssh elements in the manifest, the media has a webm mimeType, but the DRM initialization data has an mp4 mimeType.