使用 Apache Web 服务器进行 Http 直播
是否可以使用 Apache Web 服务器进行 HLS? “将带有数据块的播放列表放在这里”就足够了吗?真有这么简单吗?或者是否有一些模块可以用于此目的?
非常感谢您的回复
Is it possible to do HLS with an Apache web server? Would it be enough to "put here the playlist with data chunks"? Is it that simple? Or is there some module, which can be used for that purpose?
Thanks a lot for the reply
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,只需提供 m3u8 和分段 ts 文件就足够了。 HLS 的好处是它是简单的 HTTP。
您可能必须在 Apache 中设置 mime 类型,但默认情况下它可能是正确的。
Yes, it's sufficient to merely have the m3u8 and segmented ts files available. The benefit of HLS is that it is bog simple HTTP.
It's possible that you'll have to setup the mime types in Apache, but it's probably correct by default.
肯定有 apache2 模块可以做到这一点。
我个人选择的流媒体音频和视频,尤其是视频点播是 vlc。重新编码的强大功能,将您的输出采纳为客户想要查看的内容,等等。
也许值得一看。
There are surely apache2 modules for doing that.
My personal choice for streaming audio and video and especially Video-On-Demand however is vlc. Great funcionality for recoding, adopting your output to what ever client wants to view it, etc. etc.
Maybe worth a look.