Skip to content

Commit

Permalink
Add support for new codecs parameter string
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyri authored and ojw28 committed Sep 6, 2017
1 parent 108e308 commit f31d4c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ public static String getMediaMimeType(String codec) {
return MimeTypes.VIDEO_H264;
} else if (codec.startsWith("hev1") || codec.startsWith("hvc1")) {
return MimeTypes.VIDEO_H265;
} else if (codec.startsWith("vp9")) {
} else if (codec.startsWith("vp9") || codec.startsWith("vp09")) {
return MimeTypes.VIDEO_VP9;
} else if (codec.startsWith("vp8")) {
} else if (codec.startsWith("vp8") || codec.startsWith("vp08")) {
return MimeTypes.VIDEO_VP8;
} else if (codec.startsWith("mp4a")) {
return MimeTypes.AUDIO_AAC;
Expand Down

0 comments on commit f31d4c7

Please sign in to comment.