MediaChunk.java
4.97 KB
-
Generalize getPsshInfo to properly accomodate WebM. · 8c108855
- Rather than returning a map, return a DrmInitData object, with mapped and non-mapped implementations. - Include a suitable mimeType to pass to the MediaDrm. Previously we were incorrectly passing the mimeType of the samples, where-as MediaDrm expects the container mimeType. Note that it doesn't matter whether the mimeType starts with "video" or "audio", hence using video mimeTypes everywhere.
Oliver Woodman committed