Http Live Streaming with the Apache web server

2019-04-07 12:46发布

问题:

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

回答1:

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.



回答2:

The VideoLan wiki has a how to for HLS streaming, where it relies on a separate web server (could be Apache) to stream the content. I'm planning to try this out to view my HD Homerun on my Roku. I'll edit after I try it out.



回答3:

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.