Wowza Community

S3Uploader wse-plugin-s3upload - Upload only when stream is complete

Hi there,

I’ve been configuring the wse-plugin-s3upload module for the last couple of hours and I was wondering if there was a way to upload a live stream, only if the stream has ended.

I’ve ran into an issue when a user pauses their live stream (for longer than the s3UploadDelay property). When the stream is paused, that portion of the stream is uploaded to s3. Then after they close the stream, the other half is uploaded to s3, overwriting it.

As the time the stream is paused cannot be determined, setting a longer s3UploadDelay won’t work.

If anyone has any suggestions, it would be greatly appreciated.

Thank you :slight_smile:

Hello @Trav Heaven,

The solution here would be a two-step process.

Increase the s3UploadDelay property and then implement versioning of your recordings.

Setting the recordings to append would create one single recording instead of multiple files.

So in a scenario where the source stream stops and then resumes (with the same name) you would still end up with a single file that has both portions of the live stream. And once the upload is complete you would also have the latest recording.

You can also use nDVR to create a DVR store (again appending if the source stream disconnects), then extract a .mp4 from the DVR recording and then upload that to the s3 bucket.

Hope this helps with ideas on a solution to this issue.

Regards,

Alex C.

Wowza Support