Commit 49c2926e by Shyri Villar

Add support for new codecs parameter string

parent 6bf0b7f3
...@@ -184,9 +184,9 @@ public final class MimeTypes { ...@@ -184,9 +184,9 @@ public final class MimeTypes {
return MimeTypes.VIDEO_H264; return MimeTypes.VIDEO_H264;
} else if (codec.startsWith("hev1") || codec.startsWith("hvc1")) { } else if (codec.startsWith("hev1") || codec.startsWith("hvc1")) {
return MimeTypes.VIDEO_H265; return MimeTypes.VIDEO_H265;
} else if (codec.startsWith("vp9")) { } else if (codec.startsWith("vp9") || codec.startsWith("vp09")) {
return MimeTypes.VIDEO_VP9; return MimeTypes.VIDEO_VP9;
} else if (codec.startsWith("vp8")) { } else if (codec.startsWith("vp8") || codec.startsWith("vp08")) {
return MimeTypes.VIDEO_VP8; return MimeTypes.VIDEO_VP8;
} else if (codec.startsWith("mp4a")) { } else if (codec.startsWith("mp4a")) {
return MimeTypes.AUDIO_AAC; return MimeTypes.AUDIO_AAC;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment