Wowza Community

Is RTMP the way to go? Firewall issues...

I was demonstating our new online video platform for a customer at their site the other day. It didn’t went well. Due to tight network restictions, we couldnt get the video to play via RTMP or RTMPT on any ports. Playing Youtube and Vimeo videos worked as a charm, so this leaves me with this question: What are my options to overcome this issue? Should I go for HTTP pseudo streaming like YouTube and Vimeo, and if so, should it be via Wowza or a normail webserver?

I use JW player for your information

Thanks so much

Jakob

Hi

You can configure Wowza to use port 80, which is the same port that Youtube uses.

Did you try port 80 already?, I know you said you tried them all but could you give me a list of the ones you tested to make sure you didn’t miss any that may have worked.

You can use JW Player with Wowza when Wowza is using port 80 and it will work just as it did before.

Jason

Try Flash HTTP (San Jose) streaming. Playback with an OSMF client like Strobe or Flash Media Playback (hosted version of Strobe). Wowza also has OSMF examples in the SimpleVideoStreaming and LiveVideoStreaming client examples.

https://www.wowza.com/docs/how-to-use-strobe-media-playback-with-a-wowza-media-server

Configuration playback URLs for San Jose are covered in the tutorials.

https://www.wowza.com/docs/tutorials

Or Smooth streaming to Silverlight client.

Richard

Hi Jason,

RTMP and RTMPT both failed on port 80. It seems that everything exect HTTP on port 80 is blocked.

So, what are my options with wowza if this is true?

Thx

If there a way to use Wowza with ordinary FLV pseudo-streaming? Or we should use Nginx/Lighttpd to pseudo-stream flv through http?

we use RTMP as well for many times through Wowza and it works like a charm. Wowza is really strong and robust media-server for a business purpose.

But we met a problem, it’s getting bigger every day for us. A lot of new customer can’t use RTMP by their firewall rules, and it’s a problem to deliver a business media content for them.

So we should provide secure links to pseudo-streaming traffic, to prevent a direct download by stealing the links.

We use few servers, one for Rails app, the second for DB, and third as Wowza media server.

My thinking is to setup nginx on Wowza media server and configure it to pseudo-stream media originally files captured by RTMP from webcam.

Can you suggest to use nginx with “http_secure_link_module” and “http_flv_module” modules?

Thanks a lot

mikhailov,

“A lot of new customer can’t use RTMP by their firewall rules, and it’s a problem to deliver a business media content for them.”

“t seems that everything exect HTTP on port 80 is blocked.”

Because RTMP uses port 1935, right? Or, the firewall is blocking everything but HTTP packets. So, the solution is to use HTTP over port 80, using RTMPT or HTTP, as Richard suggested.

So, did you add port 80 do the default host port in VHost.xml, and restart Wowza? Can you connect to port 80 from your network that does not have restrictive firewall rules? Otherwise, please explain more to me why it’s not working. I’m curious.

You said, “A lot of new customer can’t use RTMP by their firewall rules”.

Can you give me an example of these firewall rules?

RTMP is on 80, 443 and 1935 ports. RTMPT is not an option, becuase it’s too slow.

Sorry, I don’t have client’s firewalls rules and logs, but they are all big business players

Hi

If you want to use nginx as the webserver then that’s fine, you will have to ask the owner/provider of “http_secure_link_module” and “http_flv_module” on how to configure these as this will not be done on a Wowza box.

Saving the RTMP stream from your webcam and using

https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord

and using that content (now as vod) which will be saved on the nginx box for pseudo-streaming

How you get the vod content to the nginx box is up to you.

Jason

Do you have an experience with control pseudo-streming with any type of security (nginx, lighttpd or anything else)?

P.S. We have no problem with capture video from webcam and stream back via RTMP.

I’ve found a solution, if you insterested, please take a look here http://stackoverflow.com/questions/8848919/secure-pseudo-streaming-flv-files

The main idea is to have web-server can do psedo-stream through the same file system, but secure way

Hi mikhailov,

Progressive Download (Psuedo Streaming) is not supported by Wowza for a variety of reasons. So, you would use your webserver. However, I feel that you should be able to get streaming to work over port 80… and if your firewall is doing packet inspection, then you should be able to use RTMPT.

Did you add port 80 do the default host port in VHost.xml, and restart Wowza?

You should then be able to access your stream like this:

rtmp://[Wowza-IP]:80/vod/mp4:sample.mp4

or,

rtmpt://[Wowza-IP]:80/vod/mp4:sample.mp4

Perhaps an “80” was left out somewhere?

Some good info here: Is it preferable to use different ports for rtmp and rtmpt

mikhailov,

“A lot of new customer can’t use RTMP by their firewall rules, and it’s a problem to deliver a business media content for them.”

“t seems that everything exect HTTP on port 80 is blocked.”

Because RTMP uses port 1935, right? Or, the firewall is blocking everything but HTTP packets. So, the solution is to use HTTP over port 80, using RTMPT or HTTP, as Richard suggested.

So, did you add port 80 do the default host port in VHost.xml, and restart Wowza? Can you connect to port 80 from your network that does not have restrictive firewall rules? Otherwise, please explain more to me why it’s not working. I’m curious.

You said, “A lot of new customer can’t use RTMP by their firewall rules”.

Can you give me an example of these firewall rules?

Hi

If you want to use nginx as the webserver then that’s fine, you will have to ask the owner/provider of “http_secure_link_module” and “http_flv_module” on how to configure these as this will not be done on a Wowza box.

Saving the RTMP stream from your webcam and using

https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord

and using that content (now as vod) which will be saved on the nginx box for pseudo-streaming

How you get the vod content to the nginx box is up to you.

Jason

Hi

pseudo streaming is not something I’m an expert on, I’m afraid I cant help you with that at all, Sorry.

Jason