Lighttpd:视频无法正常流式传输
我通过端口 81 流式传输视频,但是,当我单击视频中间时,我没有得到我所期望的内容(转发)。这与我的 lighttpd 安装或我正在使用的软件有关吗?我正在使用一个框架,其中所要做的就是在 lighttpd 流值上设置“1”,如果正确安装 lighttpd 应该很好(事实上,我已经在另一个安装中执行了此操作并工作了,并且我现在不知道是什么问题)。
我在 CentOS 上使用 lighttpd 1.5。通过端口 81 进行流式传输。以下是我添加到lighttpd.conf 和modules.conf 中的一些行: http:// Paste.lighttpd.net/2517
从我在 firebug 中看到的情况来看,视频正在通过 mydomain.com:81 进行流式传输。 Firefox 的 Live HTTP headers 也显示没有问题;它们使用 lighttpd 和 octet/stream 作为应用程序显示正在流式传输的视频。
有什么意见可以帮助我处理这个问题吗?
非常感谢!
I am streaming my videos through port 81, however, when I click on the middle of a video I do not get what I was expecting (forwarding). Does this have to do with my lighttpd installation, or with the software I am using? I am using a framework where all that has to be done is set a '1' on a lighttpd streaming value, and it should be good to go if lighttpd is installed correctly (in fact I already did this for another installation and worked, and I don't know what's the problem now).
I am using lighttpd 1.5 on CentOS. Streaming through port 81. Here are some of the lines that I added to lighttpd.conf and modules.conf: http://paste.lighttpd.net/2517
From what I can see in firebug, the video is being streamed through mydomain.com:81. The Live HTTP headers of Firefox also show no problem; they display the video being streamed using lighttpd and octet/stream as application.
Any input that could help me deal with this?
Thank you very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
非常老的问题,但很有趣,因为我必须解决同样的问题。
当您不使用 HTML5 播放器时,Lighttpd 本身不支持转发/伪流。
您需要为 lighttpd 添加一个模块,可以在此处找到:
http://h264.code-shop.com/trac/wiki
您必须合并一些文件,自己构建lighttpd,它写在他们的网站上。
不要使用 lighttpd-1-4-18 的源代码,因为错误,您将无法构建,请改用 1.4.28。
同样有趣的是: http://flash.flowplayer.org/plugins/streaming/pseudostreaming.html< /a>
Very old question, yet quite interesting since I had to solve the very same problem.
Lighttpd doesn't support forwarding / pseudo streaming inherently when you don't use the HTML5 player.
You need to add a module for lighttpd, which can be found here:
http://h264.code-shop.com/trac/wiki
You will have to merge some files build lighttpd by yourself, its written on their website.
Don't use the sources of lighttpd-1-4-18, you won't be able to build because of a bug, use 1.4.28 instead.
Also interesting: http://flash.flowplayer.org/plugins/streaming/pseudostreaming.html