Closed Lakshya2610 closed 4 years ago
Implemented in commit https://github.com/grey-software/toonin/commit/baac69c70186af7e96cc867b46068a43b09842ae . The root node notifies its immediate children of room close through RTC data channel. The children do the same for their children and so on and all the nodes are reset consequently.
Branch https://github.com/grey-software/toonin/tree/distributed-streaming-sys
Close RTC connection of immediate children when parent disconnects. This would recursively reset all clients as required.
This process should only be triggered after re-connection failure. When there is a connection failure, the first response of the node should be to re-connect. If the signalling server responds with "FAILURE" for the room (which means the root node(host) left), then reset all clients.