Open
Description
version: latest(5)
i have a requirement wher i want to keep all the ts files for atleast a month(if it remains there forever, that would be much better), but it automatically disposing created m3u8 files after 2 minutes, i tried with hls_dispose 0, 0ff, 1000000, but nothing helps to keep them active beyond 2 minutes.
providing my hls config:
vhost defaultVhost {
dvr {
enabled on;
dvr_path /usr/local/srs/objs/nginx/html/recordings/[app]/[stream]-[timestamp].flv;
dvr_plan session;
dvr_duration 0;
dvr_wait_keyframe on;
}
hls {
enabled on;
hls_path /usr/local/srs/objs/nginx/html/live;
hls_fragment 4;
hls_window 1800;
hls_cleanup off;
hls_dispose 600;
}
}