FrameworkSampleSource.java
12.5 KB
-
Make sure we use the correct mimeType with DRM initialization data. · 7e2fffe7
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.
Oliver Woodman committed