OpenTok-Angular icon indicating copy to clipboard operation
OpenTok-Angular copied to clipboard

Reconnecting

Open johnsolver opened this issue 10 years ago • 3 comments

How should a disconnect scenario be handled, both the case of you losing a connection and the other side disconnecting.

Am I a supposed to OTSession.init(...) again, what about the events I subscribed to do I need to unsubscribe manually? (what about the subscriber directive-s)

Does the publisher auto-magically works, since it doesn't seem like it can be made to re-connect / re-publish?

johnsolver avatar Jul 14 '15 22:07 johnsolver

Is there an answer to this question? If I am a publisher and I choose to disconnect and reconnect again, how it can be handled, my work around so far is to refresh the page but it is a poor solution.

tbarak2 avatar Jul 24 '16 17:07 tbarak2

Unfortunately the app I use this in does not handle disconnecting very well. It just tells the user to refresh the page.

I'm keeping this ticket open because it would be good to handle this properly.

aullman avatar Jul 25 '16 00:07 aullman

Hi aullman, Do you have any status regarding this issue of the reconnect? Currently this is one of the most important issue that we have in our project and we get rejects from users about the refreshing and not reconnecting.

Thanks.

tbarak2 avatar May 05 '17 10:05 tbarak2