Wowza/CloudFront Live HLS Startup Time and Latency
My target is 6-second latency to stream live content from a single Wowza instance to an end user using HLS. If I use CloudFront to distribute the live stream, instead of end-users connecting directly to Wowza, how much additional latency is added to the live stream? I understand it will vary based on distance between the origin and the edge location. I'm looking for a rough estimate of:
- How much time does it take the stream to become available in CloudFront versus directly from the Wowza origin.
- When the live stream is available from CloudFront and viewed by the end user, how much behind real time is the stream.
- In my setup, streams are dynamic - they start, run for a few minutes and then stop. They are only consumed by 1 viewer. Is CloudFront a poor fit for this application, should I be looking at the liverepeater origin/edge configuration instead? My main goal is to make streams available across AWS regional boundaries using origin/edge locations in each AWS region. (ie. Wowza origin in each region feeding CloudFront for edge distribution versus Wowza origin/edge/edgeorigin in each region pulling streams across regions only when necessary).
Starting with your 3rd bullet, yes, CloudFront seems unnecessary for your application. For short live streams only ever consumed by just 1 viewer, I don't think Live Steam Repeater (origin/edge) is necessary either.