0

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

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 中尝试过,但没有任何运气。

4

1 回答 1

0

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

于 2013-04-06T15:19:14.880 回答