Apache配置支持流媒体服务,apache配置流媒体


Apache配置

1. 下载mod_flvx.so、mod_h264_streaming.so模块。
2. 编辑apache\conf\httpd.conf,查找LoadModule,在LoadModule的最后面(或者附近)配置:

LoadModule flvx_module modules/mod_flvx.so
AddHandler flv-stream .flv
LoadModule h264_streaming_module modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

3. 重启apache即可,如果apache不能启动,请确认模块的版本是否与apache版本一致。

相关内容

    暂无相关文章