I've been struggling with this issue for a while, and have finally come here to seek a solution. I have successfully connected two clients to one another with Cirrus, allowing for a live audio/video exchange between them. However, after around 2 or 3 minutes of use, the NetConnection experiences a NetStream.Connect.Closed event, the receiving NetStream has a NetStream.Play.Stop, and the NetStream triggers another NetStream.Connect.Closed event. For one user, the NetConnection.Connect.Closed event also occurs. I can't understand why this is happening, any ideas?
perhaps your NetConnection is being garbage collected? are you keeping a reference to it in your program? if there are no direct references, the garbage collector may find it and close it.
event listeners and being the NetConnection for a NetStream don't count.
That's an interesting thought, but I have references to the NetConnection and both NetStreams at the class level.