5

We currently use CloudFront Streaming distribution with JW Player 6 and the RTMP protocol. However, some of our corporate users have told us that they can't see the videos and is because they have RTMP's port 1935 blocked.

CloudFront support RTMP streaming over port 1935 and 80. And it also supports RTMPT streaming tunneled over HTTP.

So I could choose to stream RTMP over port 80 or RTMPT that uses HTTP.

Between these two, what option would be best to have better performance (and less problematic and error-prone) while avoid being blocked by firewalls?

Thanks!

Guillermo
  • 864
  • 4
  • 12
  • 20

3 Answers3

2

I don't see any obvious problems of running RTMP on port 80.

Using RTMPT potentially and in theory will increase the latency, (see this from Adobe: http://blogs.adobe.com/connectsupport/tunneling-with-rtmp-encapsulated-in-http-rtmpt-should-be-avoided-as-it-causes-latency/). Although in my real experience the difference was not that huge.

However, what I would do is always try port 1935 first, and if it failed then try port 80 by using Cluster plugin. But again, there should be no issues in running on port 80.

Yudong Li
  • 1,784
  • 2
  • 17
  • 32
  • `obvious problems of running RTMP on port 80` - You break things for schools corps etc that redirect any port 80 traffic to an HTTP proxy for web filtering. (aka interception caching). – Zoredache Oct 05 '16 at 16:56
1

RTMPT that uses HTTP, that is better overall for firewalls and the performance is fine too.

emaxsaun
  • 4,191
  • 2
  • 13
  • 13
  • Hi! I have a recorder application in flash and i am using wowza at backend. I cannot use rtmp in private network, but issue i am facing with RTMP(T) is recorded video gets freezes after some interval and it seems packets gets dropped. do you think it depends on the network conditions. or any idea what i might check. i am streaming in 640x480 frame-size from flash and my uplink speed is around 2Mbps. for some reason i am getting performance issues. – Usama Sep 12 '17 at 09:04
  • Message JW Player support at their email. – emaxsaun Sep 14 '17 at 14:46
1

One problem that we've encountered with RTMPT is that web filtering may drop HTTP packets that it deems suspicious. When an RTMPT packet is dropped, this can result in loss of the whole connection. And if you are streaming content, sooner or later the web filter will find a suspicious packet, just by random chance.

The solution, if possible, would be to get your IT department to white list your server so that web filtering is bypassed. This would eliminate the problem of dropped connections.

jonawebb
  • 159
  • 2
  • 8