Closed alvitoraidhy closed 2 years ago
The videoroom plugin does not close the transport connection in case of errors.
The connection.close()
is probably coming from the application code.
For example in the videoroom example there is connection.close
call in the catch block of the initialization.
https://github.com/meetecho/janode/blob/master/examples/videoroom/src/index.js#L95-L97
The videoroom plugin does not close the transport connection in case of errors. The
connection.close()
is probably coming from the application code.For example in the videoroom example there is
connection.close
call in the catch block of the initialization. https://github.com/meetecho/janode/blob/master/examples/videoroom/src/index.js#L95-L97
Oh right thanks. I did use the example as the base, I should've looked at the code more thoroughly. I'll close this now
Hi. I was developing an app with Janode and by mistake I tried to connect to a nonexistent room. However I didn't expect the error to make the websocket close itself without reconnecting. I'm using this connection for all of my sessions and this just closes them all basically. May I know the reason for that and how can I stop it to close?