【问题标题】:Unable to stream from MJPEG server无法从 MJPEG 服务器流式传输
【发布时间】:2013-04-06 23:19:14
【问题描述】:

我正在尝试使用 <video> 从 MJPEG 服务器进行流式传输,但出现以下错误:

HTTP "Content-Type" of "multipart/x-mixed-replace" is not supported. Load of media resource http://localhost:8080/stream?topic=/gscam/image_raw?height=240?width=320 failed.

使用以下 HTML 代码:

<video src="http://localhost:8080/stream?topic=/gscam/image_raw?height=240?width=320" id="vid"
       height="240" width="320">
</video>

我在 Firefox 和 Chrome 中尝试过,但没有任何运气。

【问题讨论】:

    标签: html webkit video-streaming html5-video mjpeg


    【解决方案1】:

    据我所知,将 MJPEG 流嵌入 Firefox 和 Chrome 的唯一方法是使用标签。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-29
      • 2013-02-02
      • 1970-01-01
      • 1970-01-01
      • 2014-06-06
      • 2013-05-11
      • 2011-11-30
      • 1970-01-01
      相关资源
      最近更新 更多