Delete HLS files some time after stream ends #6928
Replies: 2 comments
-
After testing and looking into the code, it looks like |
Beta Was this translation helpful? Give feedback.
-
You are right. Even if the If someone joins the stream 15 minutes late and rewinds to the beginning of the stream, the HLS files need to still be there when that user reaches the end of the stream, 15 minutes after we've stopped streaming. So, if you want the above scenario, set the I hope it helps. |
Beta Was this translation helpful? Give feedback.
-
I have
"deleteHLSFilesOnEnded": false
in my settings since I'm assuming that setting it totrue
would delete the HLS files as soon as the stream ends, which is not what I want (if someone joins the stream 15 minutes late and rewinds to the beginning of the stream, the HLS files need to still be there when that user reaches the end of the stream, 15 minutes after we've stopped streaming). However, I also don't want the HLS files to stay forever, since that will eventually fill up all the storage space on the servers with old files that we no longer need.Beta Was this translation helpful? Give feedback.
All reactions