2013-03-07 143 views
0

我試圖從MJPEG流媒體服務器使用<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沒有任何運氣。

回答

0

據我所知,將MJPEG流嵌入Firefox和Chrome的唯一方法是使用標籤。