Open Misterblue opened 3 weeks ago
Not sure what the re-connect protocol is. If the Janus server restarts, what will the viewer see? Will the viewer just try and reconnect? Since RTP is UDP based, does it have keepalives that will note the dropped connection?
Might need to drop sessions for users when they reconnect.
Rebooting the Janus-gateway server while the simulator is up would be a common management situation. There should be code that re-establishes the sessions with the server and reconnects the clients. That probably means saving information about the individual connections so they could be remade or there needs to be a "do a reconnect" operation that causes the viewer to do same.