Flash Player on port 80 like online demos...

Issues related to playing with Flash Player

Flash Player on port 80 like online demos...

Postby rtrimarchi » Mon Aug 29, 2011 6:55 am

Hello Admin,
I have just run the "IP Camera connected through IPCamSourceVideo filter" --- Flash Player Option in your demos web page....and I see the train running.....
Looking at the source Page code, I see this line: 'rtmp' : 'rtmp://65.23.154.147:80/live/Axis'
As far as I understand, this is getting the flash rtmp stream via port 80....which traverses firewalls in my corporate PC.
Now.... my scenario is this:
- IIS7 + uhhttpproxy installed and working
- session based authentication enabled and working fine (using the UsessionAuth examples)

So now I want to try to use flash as player....which at the moment....works fine but on port 22000...but unfortunately does NOT trapass my corporate firewall.
So I wanted to try port 80 + flash....like in your example....which work 100%.

My question is: do I have to change in the mediaserver ports options the TCP port from 22000 to 80 ??????
Doesn't this conflict with IIS7+HTTPPROXY installed on the same PC ???????

Can you clarify me this little confusion please ?

Thanks a lot for your Incredibly important work you do for us

Riccardo

"
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: Flash Player on port 80 like online demos...

Postby admin » Mon Aug 29, 2011 7:46 am

Yes, you do need to change mediaserver port from 22000 to 80.
Yes it will conflict with port 80 which IIS uses. You then need to change IIS port to something like 8080.
That's what we did on our demo site. However, note that we are using HTTPS streaming for our HTTP delivery, never HTTP. So we are using regular HTTPS port 443 on IIS, while giving
port 80 to UMediaServer. HTTPS 443 will be allowed by any corporate firewall as well. You can generate any test certificate on your server and use it for HTTPS.
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: Flash Player on port 80 like online demos...

Postby rtrimarchi » Tue Aug 30, 2011 12:56 am

Admin...
I got your explainantion-clarification....but your Demo Link to the http://www.umediaserver.net/umediaserve ... Flash.html ..... I don't think it uses port 8080.
...and you are also using port 80 (rtmp://65.23.154.147:80/live/Axis) .....
How can you do it ???
I mean ... your webserver it seems to be responding on port 80 ( http://www.umediaserver.net/umediaserve ... Flash.html ) and simultaneously your flash plugin is streaming on port 80 (rtmp://65.23.154.147:80/live/Axis).....
I am confused....but that's what I want....
How did you guys make it ?
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: Flash Player on port 80 like online demos...

Postby admin » Tue Aug 30, 2011 7:36 am

I think I explained it...
That's how our demo site is set:

UMediaServer listens on port 80. So all our Flash links have port 80 in them.
IIS listens on HTTP 8080 and HTTPS 443. Note that we only have HTTPS demos on our website, for UHttpProxy.

So outside players only use ports 80 and 443, allowed by most of coroporate firewalls.
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: Flash Player on port 80 like online demos...

Postby rtrimarchi » Tue Aug 30, 2011 8:28 am

I already got this clearly....but in your Demo page, you do not use port 8080....apparently from your URL.

Let me explain myself better.....

This is the URL link you have in your demo webpage: http://www.umediaserver.net/umediaserve ... Flash.html

If your IIS was listening on port 8080, the above link shouldn't it be : http://www.umediaserver.net:8080/umedia ... Flash.html ??????????

This is why I am confused...

According on what you are saying.....your IIS is listening on port 8080, but me, as a client connecting to you site, I am using a URL pointing to port 80 and NOT to port 8080....as stated before.

I am confused....

...the mediaserver part it is very clear....
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: Flash Player on port 80 like online demos...

Postby admin » Tue Aug 30, 2011 10:32 am

All these demo web pages do not reside on our demo server!
They sit on competely different IP address, on our hosting provider.

For demo site, we have a separate dedicated server, and we only have the Media Server there, and also UHttpProxy.
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: Flash Player on port 80 like online demos...

Postby rtrimarchi » Tue Aug 30, 2011 1:41 pm

Sorry Admin,
but, maybe because I am very tired, I am not getting your point.....
?????????????????????????????????????????????????????????????????????????
hahahahaha
?????????????????????????????????????????????????????????????????????????

When I go to: http://www.umediaserver.net/umediaserve ... sh.html.... what IIS port I am connecting to ( @ umediaserver.net) ????

I believe 80... is this correct ????

If this is correct....and ONLY IF this is correct........how can you stream using RTMP on port 80 too from the same server ???

Unless...you have IIS on your host provider and your mediaserver & liveserver on different servers....

Is this what you meant ?

If this is the case, how does it logically works ??????

I hope you have patiente to explain me this....
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: Flash Player on port 80 like online demos...

Postby admin » Tue Aug 30, 2011 5:14 pm

I believe 80... is this correct ????


YES

you have IIS on your host provider and your mediaserver & liveserver on different servers


YES
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: Flash Player on port 80 like online demos...

Postby rtrimarchi » Wed Aug 31, 2011 1:08 am

Finally I got it.... and then I made a test.

I took one of your examples in your SDK 8.0.

The name of the example is : glowSkin_VideoPlayer.html

So, I modified the rtmp address in it and replaced with the address published in the demo link (rtmp://65.23.154.147:80/live/Axis), and tried to execute it locally on my PC.

The html page came up and the flash plugin too, but NO STREAMING VIDEO from 65.23.154.147:80.

Why I see no video, and instead, if I go via the demo website link, I do see the video fine ???

Is it protected somehow on your mediaserver-liveserver ???
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: Flash Player on port 80 like online demos...

Postby admin » Wed Aug 31, 2011 11:15 am

You need to load swf from a web server, not from your local drive, otherwise Flash will not play for security reasons.
In your webpage make sure that you are loading umsplayer.js not from your local hard drive
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Next

Return to Playing with Flash Player

Who is online

Users browsing this forum: No registered users and 1 guest