HTML5 ERR_INVALID_HTTP_RESPONSE

问题描述 投票:1回答:1

我正在使用gstreamer将视频发送到HTML5网页。以下代码适用于Firefox,但无法在Chrome中运行,错误如下:

Failed to load resource: net::ERR_INVALID_HTTP_RESPONSE

寄件人

gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=360,framerate=30/1 ! \
videoconvert ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=5003

接收器

<video autoplay="" width="640" height="360">
    <source src="http://127.0.0.1:5003" type="video/ogg">
    Your browser does not support the video tag.
</video>

Chrome是否在等待HTTP 200 OK响应?如果是,哪个软件组件应该回复呢?

html5 google-chrome html5-video gstreamer
1个回答
0
投票

我正在尝试连接到我的本地livereload端口:

在我的页面上:http://192.168.1.72:35729/

获取http://192.168.1.72:35729/livereload.js?ver=1.0 net :: ERR_INVALID_HTTP_RESPONSE

在Firefox中也适用于我。在mac os上。

© www.soinside.com 2019 - 2024. All rights reserved.