Just to add to the discussion, as I’ve kept working on this on my own
I have right now working HDS and HLS out of Wowza server into Cloudfront. As it’s HTTP streaming, which is based on files, it shouldn’t be much of a difference than caching any http object. It works conceptually, but performance is not good.
On Wowza, I can see there’s only one concurrent session even when there’s more than one user streaming. But, CF doesn’t perform very well as others CDNs. Most CDN, when it comes to http live streaming, they implement it in a different way than regular http object caching.
CF says they have an implementation for Smooth Streaming out of IIS and RTMP streaming out of Adobe Flash Server, developped to provide a reliable streaming experience (it involves the process of lighting up the server in paralell, etc).
I hope they work with Wowza to develop something similar. Meanwhile, I’m moving out of CF for my http streaming to other CDN. It’s convenient, but not reliable.
Can you share how you’ve setup Wowza with Cloudfront?
RTMP = Wowza running on an EC2 instance - I am unable to open port 1935 in CF. I assume I have to use RTMPT (tunneling) through port 80 but not sure how to go about this.
RTMPS (RTMP over SSL) = not clear if this is possible.
RTMP via CF Streaming distribution (no Wowza) = Initial single user latency seems high.
RTMPE via CF Streaming distribution (no Wowza) = Initial single user latency seems high. Not clear what the Encryption is adding here as according to Wikipedia it’s proprietary and “fundamentally flawed”.
HLS = I generated static HLS segments using MediaFileSegmenter and stored them on S3. A CF Download distribution seems to work but single-user latency tends to vary.
HLS = I generated static HLS segments using MediaFileSegmenter and stored them on S3. Accessing S3 directly works and latency seems a little lower than CF.
I’d love to be able to test Wowza with CF but it looks like this no longer is an option for RTMP - correct me if I’ve wrong. And please share how you’ve configured Wowza with CF for HLS. Thanks in advance.
-fs