Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hls files (ts and m3u8) in S3 bucket after publishing stops when using hlsHttpEndpoint and deleteHLSFilesOnEnded=true #6891

Open
fabiox23 opened this issue Dec 19, 2024 · 2 comments · May be fixed by #7054
Assignees

Comments

@fabiox23
Copy link

When "deleteHLSFilesOnEnded=true", HLS files (ts and m3u8) are duly deleted from the AntMedia server after the stream publishing is stopped. This doesn't happen when pushing such files on an S3 bucket with the "hlsHttpEndpoint=http://127.0.0.1:5080/LiveApp/hls-upload" option. If the user is not careful, this can lead to filling the bucket with thousands of files over time which is not desirable and can lead to costing issues as well.

The expectation is that, when setting "deleteHLSFilesOnEnded=true", HLS files are removed regardless whether the files are local or remote. As the server already deletes older ts files (because of the rotation) from the S3 bucket whilst the stream is being published, it has already the core functionality to remove remote files so the requested feature should be trivial to implement.

@muratugureminoglu
Copy link
Collaborator

Agent Amarnath Thodupunoori linked Freshdesk ticket 140559 for this issue.

@burak-58 burak-58 moved this to Next Sprint in Ant Media Server Dec 23, 2024
@mekya mekya moved this from Next Sprint to 🔖 Sprint in Ant Media Server Jan 27, 2025
@yashtandon113
Copy link
Contributor

I have confirmed the issue by testing it

@burak-58 burak-58 moved this from 🔖 Sprint to Next Sprint in Ant Media Server Feb 3, 2025
@burak-58 burak-58 moved this from Next Sprint to 🔖 Sprint in Ant Media Server Feb 17, 2025
@USAMAWIZARD USAMAWIZARD linked a pull request Feb 21, 2025 that will close this issue
@USAMAWIZARD USAMAWIZARD linked a pull request Feb 21, 2025 that will close this issue
@burak-58 burak-58 moved this from 🔖 Sprint to 🏗 In progress in Ant Media Server Feb 24, 2025
@burak-58 burak-58 moved this from 🏗 In progress to After sprint in Ant Media Server Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: After sprint
Development

Successfully merging a pull request may close this issue.

7 participants