diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js
index 94e915b377..2d567ea9a3 100644
--- a/lib/media/media_source_engine.js
+++ b/lib/media/media_source_engine.js
@@ -698,7 +698,8 @@ shaka.media.MediaSourceEngine = class {
           timestamp = startTime;
         }
       }
-    } else if (shaka.util.TsParser.probe(uint8ArrayData)) {
+    } else if (!mimeType.includes('/mp4') && !mimeType.includes('/webm') &&
+        shaka.util.TsParser.probe(uint8ArrayData)) {
       const tsParser = new shaka.util.TsParser().parse(uint8ArrayData);
       const startTime = tsParser.getStartTime()[contentType];
       if (startTime != null) {