【问题标题】:HTML5 ERR_INVALID_HTTP_RESPONSEHTML5 ERR_INVALID_HTTP_RESPONSE
【发布时间】:2018-05-13 21:21:04
【问题描述】:

我正在使用 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 响应?如果是,哪个软件组件应该回复它?

【问题讨论】:

    标签: html google-chrome html5-video gstreamer


    【解决方案1】:

    我正在尝试通过以下方式连接到我的本地 livereload 端口:

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

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

    在 Firefox 中也适用于我。在 mac 操作系统上。

    【讨论】:

      猜你喜欢
      • 2018-01-15
      • 2017-05-07
      • 2018-11-13
      • 2018-02-11
      • 1970-01-01
      • 2019-05-23
      • 1970-01-01
      • 2019-05-24
      • 1970-01-01
      相关资源
      最近更新 更多