victor-david / camera-eye

.Net Core 3.1 WPF Windows application to view and manipulate multiple IP cameras. Handles RTSP and MJPEG streams. Provides ability to pan and tilt the cameras. Uses plugins to deal with specific camera makes / models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retry video connection on failure

victor-david opened this issue · comments

If the video can't be streamed (camera turned off, network outage, etc.) an error is displayed and that's it. You can add the camera to the wall again (which causes the plugin to reinitialize and try again), but it would be nice to have an automatic retry. Likely would want a maximum number of retires, perhaps configurable.

3600be3 handles implementation of retry for RTSP only. The number of tries and the time to wait between tries can be specified in the connection parms. Currently, these values stay with their defaults and are not connected to the UI or associated with a particular camera. But they're sufficiently surfaced to be able to do that if needed. Next step is to implement the retry for the MJPEG video handler.

84067db and 6aef983 implement ability to retry for MJPEG video.