You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When reading frames from RTSP or USB/Ethernet source sometime disconnects may occur.
Describe the solution you'd like
Add channel listener. When it receives a signal (disconnected from video source) it will try reestablish connection.
I guess, some kind of wrapper around gocv.VideoCapture is needed.
Describe alternatives you've considered
systemd/cron is an option.
But you always can disable reconnect option configuration JSON (context is below) and prepare systemd/cron by yourself.
Additional context
It's better to add reconnect option to configuration JSON also, eg '"reconnect_opts": {"num_of_attempts": 5, "sleep_time_between_attempts": "10sec"}'
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When reading frames from RTSP or USB/Ethernet source sometime disconnects may occur.
Describe the solution you'd like
Add channel listener. When it receives a signal (disconnected from video source) it will try reestablish connection.
I guess, some kind of wrapper around gocv.VideoCapture is needed.
Describe alternatives you've considered
systemd/cron is an option.
But you always can disable reconnect option configuration JSON (context is below) and prepare systemd/cron by yourself.
Additional context
It's better to add reconnect option to configuration JSON also, eg '"reconnect_opts": {"num_of_attempts": 5, "sleep_time_between_attempts": "10sec"}'
The text was updated successfully, but these errors were encountered: