Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Correct MIME type for multipart MJPEG stream over http?

Chrome always throws a warning for my MJPEG stream:

Resource interpreted as Image but transferred with MIME type multipart/x-mixed-replace

Is there maybe a better MIME type to use that can fix this? Can I just use 'Image', even though it IS a multipart stream?

like image 237
skerit Avatar asked Feb 20 '13 20:02

skerit


1 Answers

From different resources across the web, the more commonly employed MIME type for M-JPEG i.e. Motion JPEG is video/x-motion-jpeg. Only GStreamer has a slightly different view as it employs video/x-jpeg as indicated in this table of video MIME types.

The web resources for MJPEG MIME types are:

  1. htmlquick

  2. sitepoint

  3. Harvard Site

  4. IBM Site

like image 156
Ganesh Avatar answered Sep 17 '22 14:09

Ganesh