I have a simple Flash client connecting to Flash Media Server, and I would like it to simulate a client by doing the following:
- Attempt to connect to RTMP stream on port 1935 and fail,
- Return to RTMP on port 443 and fail,
- Return to RTMP on port 80 and failure, and ultimately
- Return to RTMPT (HTTP) through port 80 and beyond.
This is assumed to be the default behavior for a Flash player, for example as described here :
In many cases, this is all you need. walk past many firewalls without using HTTP tunneling. This works because of the function built into the NetConnection Object. When you do not specify the port number in the RTMP address, Macromedia Flash will try to connect to port 1935. If it does not work, it will try to connect to port 443; if this fails, he will try port 80 .. Thus, encoding is not required to access ports 1935, 443, or port 80, unless you specify a port in the RTMP address.
And here :
FMS netConnection connect, , , : nc.connect( "RTMP://, " ). , , - , . , , rtmp. The Flash- rtmp 1935, 80, rtmpt () 80.
Windows 7, , , Flash RTMP RTMPT. Windows, , " " ( - , TCP - 6, UDP 17 ..), RTMP.
- , , . .