mirror of
https://github.com/androidx/media.git
synced 2025-05-07 07:30:22 +08:00

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.