When two Flash Player instances are directly connected via NetStream, is there a way for one to know when the other has disconnected (e.g. by closing his browser)? I don't see anything in NetStatusEvent.info.
I think I've come up with an approach, so I'm posting in case this helps someone else: use a timer to periodically loop through the peerStreams array and keep track of the farIDs of the subscribing NetStreams. If one of them goes away, you know it has disconnected.
you should get a NetStream.Connect.Closed sent to the NetConnection's event listener. event.info.stream will be the peer-specific stream.
Even better! Thanks again for your help, Michael.