diff --git a/lib/util/mime_utils.js b/lib/util/mime_utils.js index ae802ba1b7..1471142f84 100644 --- a/lib/util/mime_utils.js +++ b/lib/util/mime_utils.js @@ -52,7 +52,7 @@ shaka.util.MimeUtils = class { return shaka.media.Transmuxer.convertTsCodecs( contentType, fullMimeType); } - } else if (contentType == ContentType.AUDIO) { + } else if (mimeType != 'video/mp2t' && contentType == ContentType.AUDIO) { // video/mp2t is the correct mime type for TS audio, so only replace the // word "video" with "audio" for non-TS audio content. return fullMimeType.replace('video', 'audio');