This PR will mimic Room server behavior and do a full closure when websocket disconnects.
We remove listeners on mediaService and signalingService and leave the room.
We reset me.id so we will be treated like a new peer on rejoin.
This also mean we remove a lot of notifications and events related to websocket reconnection logic.
This PR will mimic Room server behavior and do a full closure when websocket disconnects. We remove listeners on mediaService and signalingService and leave the room. We reset me.id so we will be treated like a new peer on rejoin. This also mean we remove a lot of notifications and events related to websocket reconnection logic.