Correct MIME type for multipart MJPEG stream over http?

mime-types, mjpeg

Solution

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:

htmlquick

sitepoint

Harvard Site

IBM Site

Problem

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?

Original source