What are the pros of Cloudfront/http?

Hello Community

Yesterday I made my first operation with this setting:

  • a Wowza server on my own infrastructure (not EC2)

  • a “web” (i.e. http) Clouldfront distribution

I was streaming live with http-based protocols (hls and hds but no rtmp).

It was working fine, but to my surprise all clients connections were received by Wowza. I was expecting only one connection from Cloudfront, and that clients would fetch their data from CF.

Am I missing something? because if all clients connect to my Wowza, what’s the use of CF?

TIA

greg

It can’t be setup properly then. Have you done the steps in the article?

By the way, how much outbound bandwidth do you have?

With Cloudfront distribution clients stream from Cloudfront servers, not directly from Wowza.

Richard

Greg,

The basic guide is here

Richard

Greg, if you have configured HTTPOrigin application in the Manager, but also want to use it as a live origin to re-stream from an edge, then open the Application.xml and change /Client /StreamAccess from this:

<StreamReadAccess></StreamReadAccess>

To this, adding “*”

<StreamReadAccess>*</StreamReadAccess>

Re-start the application or Wowza, then you will also be able to use this application as liverepeater origin.

Richard

I created a new HTTP Origin application in Wowza Manager, and it was empty. . You do need the * to re-stream from a LiveRepeater edge.

Richard

So I was right thinking Wowza would have to output a limited number of streams?

I just created a “Live” application in the new GUI, then creates a “web” distribution on Amazon with my wowza server as origin.

And my bandwidth is 100Mbps, which should be sufficient for a quite a few 600kbps stream.

Thanks for your answer.

So how should I configure Wowza?

(I’m using Wowza 4 for live http streaming)

TIA

greg

So with the guide I think I managed to solve my problem: it’s only working with “Live HTTP Origin” and NOT with “Live Origin”…

Thanks

greg

Oh nice trick, thanks :slight_smile:

I just had a look to the Application.xml file of both applications (the “Live HTTP Origin” and the “Live Single Server or Origin”), both have this line:

*