Wowza Community

Record HLS Packets

Hi there.

Is it possible to save the segments that are served for Cupertino mode?

The end result is that I want to record the transcoded streams, and place them on S3 for Cloudfront, to be viewed using HLS.

If that’s not possible, is it possible to use the DVR segments as HLS, for copying to Cloudfront (or a different HTTP CDN)?




There is nothing built-in to Wowza to do save chunks, but is easy enough to do it with a simple script.

But the HTTP Origin mode might work for you:


Sorry to bring this old question back, but I am wondering if there are any changes these days with above request?

For the Simple Script mentioned by Richard, can I get some help to elaborate it a bit more as how to do this?



Hello @Yudong Li, let me check for you.

Thank you for following up on this @Yudong Li.

The most common workflow if to record the live streams locally, as an MP4 file, transfer that MP4 file to the AWS S3 bucket and use the Wowza Media Cache feature to retrieve that MP4 file and cache it locally whenever it is requested by a playback client. If the playback client is requesting the Apple HLS stream then this stream will be transmuted into HLS media chunks, on the fly, and delivered to the playback client.
Below you can find a useful article describing how to use the Wowza Media Cache feature:

Another option is to use a custom module, and I think this is the one my colleagues were talking about, which will have the playlist manifests and TS media chunks pushed to an alternate location, or stored locally on the disk drive.

Please note that these are media chunks generated for a live stream, and by default Wowza will keep only 10 TS chunks. This way, while new TS chunks get created, old ones are being deleted.

I hope this helps you. I see you have a support ticket as well and the engineers can provide further assistance.