Wowza Community

Opening Port 443 on an EC2 instance

Hello,

Firstly I am a beginner at on Ec2 - and come from a video background - so I aplogies for my basic questions in advance.

We are trying to setup a live stream (which will happen in about 2 weeks) for one of our clients.

I have tested the venue and it seems that default 9935 flash port is blocked - although port 443 seems to be open. I checked this using:

http://kb2.adobe.com/cps/164/tn_16466.html

As we are going to push the stream - I need to open port 443 on the wowza Ec2 instance. I would like to open this port anyway as some viewers may well be behind firewall also blocking port 9935. The wowza instance is ami-75d7ff01- from the wowza ec2 support page.

I tried to push a stream RTMP://myinstance:443/rtplive but this failed - although 9935 worked ( as was in my office for this test)

I have ensured that port 443 is open in security group associated with instance.

Looking through some Wowzaec2 documentation it states that 443 is open for RTMPE - I assume this for encrypted rtmp sessions viewer sessions only and i cannot push a stream to this port??

When I look in Vhost.xml it is an empty file.

Can anyway tell me how I open port 443 so I can push a stream? - as well as being able to allow views to connect to port 443 ( if 9935 fails)

My second (basic question) - I was using rtplive for the test. Am a little confused about what this actually does.

RTP is a different protocol from RTMP. So when I use :

rtmp://myinstance/rtplive

Am i pushing the stream using RTMP protocol - I assume I am?

Are the viewers watching it over the RTP protocol ??- so the encoded video/audio is getting re-packaged from RTMP into RTP by the server??

is there a downside using rtplive example application for live streaming?

Is there a default RTMP live application I can use for streaming?? - if there is indeed any downside using rtplive.

Many thanks for your help - and apolgies for the basic question.

Dave

The default port is 1935 (not 9935)

On the EC2 Wowza instance, 443 is enabled and so is port 80, in the file VHost.xml

This is wrong, the “h” should be upper case:

/conf/Vhost.xml

This is right:

/conf/VHost.xml

You can use port 443 in any way that you would use 1935. You can also use port 80. Actually, you can use any available port that you set up in VHost.xml and enable in EC2 Security Group.

What encoder are you planning to use? Take a look at the Live Encoders section of this forum for different options.

Richard

Take a look at these instructions for using Wirecast. This will work with your EC2 instance of Wowza:

https://www.wowza.com/docs/how-to-use-telestream-wirecast-live-encoder-with-wowza-streaming-engine

Richard

That’s right.

Hi Richard,

Many thanks for your prompt reply - appeciated.

Ooops…sorry about the mistakes…As an excuse as did fail my Observation badge in the Scouts :wink:

Anyway…I am now able to push a stream on port 443 ( as well as 1935) - Many thanks Richard…

Just as a follow on.

For live streaming is it OK to use rtplive application. Is this re-packaging the encoded video/audio from RTMP packets into RTP packets? does this not induce a CPU overhead?

Is there an wowza application I can use on the Wowza Ec2 instance which is RTMP only…ie… uptream RTMP…viewers RTMP…?

I am using Wirecast for testing.

Many thanks again

Dave

Thanks Richard,

I have looked through your pointer…

Just to confirm…

The ‘Streamtest’ application pre-installed on the wowza Ec2 instance is ready has already been optomised for a live RTMP stream?

As looking in the Application.xml for Streamtest the streamtype is set to ‘live’.

So this is the applcation I should use for a live broadcast?

Last question honest.

Dave

Thanks Richard for your help…

Excellent service…and its Saturday…:slight_smile:

Dave