No event is fired when I try to connect to a farID who is already disconnected from Cirru

Hi, I am trying to catch an event when I make a connection attempt to a person who has publish a stream, but that is no longer there. I'm getting no events, no NetStream.Connection.Closed or anything like that.

What I do is simple, a client to connect to the Cirrus, then start publishes a stream, then it disconnects from the Cirrus. (NetConnection.close ()).

Then another client, using the farID of the mentioned above, customer who was once publishing, try to connect to it. No error message, no event, nothing, it don't relate anything.

However, when I type an invalid farID, like, let him say: '123456', I instantly get a NetStream.Connection.Closed.

I would like to know why is - what happens, because I got a service running to the trade of fathi, and I would like to know when Im connecting to someone who already has long since disappeared.

Thank you.

It should be an event later, after a second 90 - ish.

If you enter a completely invalid peer ID (not only composed of hexadecimal digits, not an even number of digits), you will get an error event almost immediately.

If the peer ID is not exactly 64 hexadecimal characters long, it won't work, because peer ID are currently still 64 digits (256-bit).  However, he tries again, so you will get the error event after the timeout.

Tags: Adobe

Similar Questions

Maybe you are looking for