NetConnection Messages

Below is a comparison of the  NetConnection information objects (supported by the Flash Player 6 and greater) sent by RTMPy vs.  Flash Media Server.

Also see NetStreamMessages and SharedObjectMessages.

NetConnection information objects

- couldn't reproduce or didn't test this yet
- tested and working
- doesn't work as expected
- doesn't work at all

The following messages notify the Flash Player when certain NetConnection activities occur:

Code property Level property Meaning FMS RTMPy Comments
NetConnection.Call.Prohibited Error An Action Message Format (AMF) operation is prevented for security reasons. Either the AMF URL is not in the same domain as the SWF file, or the AMF server does not have a policy file that trusts the domain of the SWF file. Client side
NetConnection.Call.BadVersion Error Packet encoded in an unidentified format. Client side
NetConnection.Call.Failed Error The NetConnection.call() method was not able to invoke the server-side method or command. Verified with 0.2 (#79)
NetConnection.Connect.AppShutdown Error The application has been shut down (for example, if the application is out of memory resources and must be shut down to prevent the server from crashing) or the server has been shut down. Tested with 0.2 (#139)
NetConnection.Connect.Closed Status The connection was successfully closed. Tested with 0.2 (#89)
NetConnection.Connect.Failed Error The connection attempt failed; for example, the server is not running. Client side
NetConnection.Connect.Rejected Error The client does not have permission to connect to the application, or the application expected different parameters from those that were passed, the application specifically rejected the client, or the application doesn't exist on the server. Tested with 0.2 (#91, #141)
NetConnection.Connect.Success Status The connection attempt succeeded. Verified with 0.1
NetConnection.Connect.InvalidApp Error The application name specified during connect is invalid. Verified with 0.1.1/0.2 (#80, #129)
NetConnection.Connect.IdleTimeout Status Flash Media Server disconnected the client because the client was idle longer than the configured value for <MaxIdleTime>. On Flash Media Server, <AutoCloseIdleClients> is disabled by default. When enabled, the default timeout value is 3600 seconds (1 hour). Also see  FMS docs. Tested with 0.1.1 (#127)
NetConnection.Connect.NetworkChange Status Flash Player has detected a network change, for example, a dropped wireless connection, a successful wireless connection,or a network cable loss. Client side

Attachments