How can I delete recorded file from content directory after s3 upload?

I want to delete the recorded file after streaming stopped and the file uploaded to S3 bucket.

Could you please let me how can I do that?

If you’re using the S3 Upload module from Wowza then there’s a property called s3UploadDeleteOriginalFiles (https://www.wowza.com/docs/how-to-upload-recorded-media-to-an-amazon-s3-bucket-modules3upload#properties)