Skip to content

SRS always disposes HLS output after 2 minutes regardless of setting hls_dispose 0 and hls_cleanup off settings #4398

Open
@balajivelu147

Description

@balajivelu147

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;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnglishNativeThis issue is conveyed exclusively in English.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions