tinypilot icon indicating copy to clipboard operation
tinypilot copied to clipboard

WebRTC frontend: automatically reconnect after network interruption

Open jotaen4tinypilot opened this issue 2 years ago • 1 comments

Not sure this will be a common problem, but in case the stream connection interrupts, the WebRTC frontend wouldn’t automatically re-connect.

But we can probably catch the error event and then implement a periodic retry, for example.

jotaen4tinypilot avatar Mar 30 '22 11:03 jotaen4tinypilot

Per discussion in the POC PR, I’ve removed this from the 2.4.1 project. Due to the automatic MJPEG failover that we have now, this is not as severe anymore. The implementation might also turn out to be more complicated than we initially expected.

jotaen4tinypilot avatar Apr 22 '22 08:04 jotaen4tinypilot