Soumya
Soumya

Reputation: 1913

Error Loading Stream: Could not connect to server for RTMP stream

I have a browser based application which displays an RTMP stream. The RTMP stream url is similar tortmp://xxx.xxx.xxx.xxx:1935/oflaDemo/livestream.flv

I can view the live stream from my home network. But from my office, I am unable to view the stream. I am getting the following error: Error Loading Stream: Could not connect to server.

RTMP Error

My office has a firewall running having only few specific ports open like 80, 443, 8443 etc.

My questions are

1) Is this a firewall issue ?

2) If yes, what ports should I ask them to open ?

3) How could I be sure that this is a port blocking issue ?

Upvotes: 0

Views: 14703

Answers (2)

thomas
thomas

Reputation: 536

  1. Yes, I think it's a firewall issue

  2. RTMP uses the TCP port 1935

Here is the output with my environment:

Flash Plug-in Version: WIN 16,0,0,305

RTMP        DEFAULT     Success
RTMP        80          Success
RTMP        443         Failed
RTMP        1935        Success
RTMPT       DEFAULT     Success
RTMPT       80          Success
RTMPT       443         Failed
RTMPT       1935        Success
RTMPE       DEFAULT     Success
RTMPE       80          Success
RTMPE       443         Failed
RTMPE       1935        Success

It seems that port 443 doesn't work for me, I don't know why.

Upvotes: 1

D-side
D-side

Reputation: 9485

It might be.

The RTMP protocol has multiple variations:

  1. The "plain" protocol which works on top of and uses TCP port number 1935 by default.
  2. RTMPS which is RTMP over an TLS/SSL connection.
  3. ...

Wikipedia: Real Time Messaging Protocol

Upvotes: 0

Related Questions