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 · 1 comment

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants