【发布时间】: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