Skip to main content
Participant
October 12, 2009
Question

Connection error only while connected through wireless?

  • October 12, 2009
  • 1 reply
  • 708 views

I'm running FMIS and I'm getting a connection error in my video player while connected to a wireless network.

Works like a charm when I have a hardwire connection.

Is it just because I'm on a terribly slow network? are there some firewall settings on the network that need to be opened for rtmp streaming?

Help

    This topic has been closed for replies.

    1 reply

    October 13, 2009

    There's a possibility that it's a firewall issue. By default, the Netconnection.connect method will try RTMP on port 1935 first, and if that fails it will try port 80, and then try an rtmpt connection (rtmp wrapped in HTTP headers). If you explicitly set the port or define the protocol as RTMPT or RTMPE in the connect argument:

    nc.connect(rtmp://myserver.com:1935/myapp)

    nc.connect(rtmpt://myserver.com/myapp)

    nc.connect(rtmpe://myserver.com/myapp)

    the flashplayer will only try connecting on the defined port and/or defined protocol.

    If your network is really choppy, I'd expect problems playing the video, and problems with the connection dropping, but I woudn't expect the connection to fail altogether (the handshake process doesn't require much bandwidth).