I'm working with remoting and with streams.
I'm using AMFChannel for the remoting and NetConnection (rtmp://...) for the streaming.
I notice that once I connect over RTMP the AMFChannel starts to get and handle lots of networkchange events.
Thess events are triggered by wireless connections that are irrelevant to the application (I have a stable cable connection) .
When there is no RTMP connection - i never get such events.
These events cause a lots of actions in the AMFChannle - it disconnected and reconnect every time and from time to time the application lost its connections.
Is there a way to mask those events from the AMFChannel?
Have you tried turning your wifi off?
I don't see why you would be getting wireless interruptions unless your actual network settings were wonky. There is no reason for wireless packets to be introduced to your system unless your actual network settings were designed to perform in such a manner.
Thank you.
I tested a scenario where I was connected via cables and then manually connect/disconnec to cellular mode and to wireless.
I assume this simulate the scenario where a user is connected via cable and then due to some reason he is connected and disconnected or even got a netwrok strength cange.
Yes, when I turn off my wireless I can work without interuption.
However, I can't ask the users of my application to turn-off their wireless.
What I did was to subclass the AMFChannel, override the statusHandler method and ignore all the NetworkCHange events.
The QA team is testing the solution.
Shlomo.
North America
Europe, Middle East and Africa
Asia Pacific