winshining / nginx-http-flv-module

A media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache, VHosts (one IP for multi domain names) and JSON style statistics are supported now.
BSD 2-Clause "Simplified" License
2.75k stars 571 forks source link

HLS cleanup 不工作 #143

Closed xiangshengjye closed 4 years ago

xiangshengjye commented 4 years ago

master_process off; 开启此配置之后, HLS cleanup 不工作, 不会清理失效的ts文件

winshining commented 4 years ago

清理工作是由cache manager process完成的,而cache manager process是master process fork而来,你配置了 master_process off; 不会生成cache manager process,所以不会清理。

gougehenhao commented 4 years ago

生产出来的ts片,如何设置为不清理

winshining commented 4 years ago

@gougehenhao https://github.com/arut/nginx-rtmp-module/wiki/Directives#hls