Hi everyone. I am having a challenge with automatic connection to the videoroom after a temporary disconnection lets say 10 seconds. I searched on the other discourse posts and the solution is to set an iceStart to true after disconnection. The problem is the implementation in janode.
The present state of the janode middleware emits a socket disconnect signal as soon as the internet is disconnected and also emits feed leaving too. Where do i implement the icestart solution in janode? Which events? Thanks. Hope to hear from you soon
If you are referring to the janode videoroom sample implemention, that’s basically an example.
If a participant’s websocket is disconnected, what happens depends on the application logics. IIRC in the example we immediately unpublish the feed. But another approach would be to hold the handle state and wait for a potential reconnection of the socket. It’s up to your application how to correlate two sockets being part of the same user session (e.g. use tokens) and when cleanup the handle state.