Wowza Community

Is it possible to determine whether an S3 transfer is in progress?

I am working on a script to spin down an EC2 instance after a stream has finished. Where I’m getting hung up is determining whether it is safe to shut down or if there is an S3 transfer running. I am using the WowzaStreamingEngine 4 BYOL 4.1.2 AMI and the vods3 application. How can I determine programmatically whether the vods3 application is still transferring a file to S3?

Hi @Kyle Isaac. What are you using to upload the file to S3? I assume you mean a recording that has been saved locally, and now is transferred to S3 after the stream has finished? Have a look at this module: https://github.com/WowzaMediaSystems/wse-plugin-s3upload, it has a ProgressListener that informs when the transfer is complete via the progressChanged method.