Skip to content

fix/rtsp stream timeout#3

Merged
daya0576 merged 7 commits intomainfrom
fix/rtsp-stream-timeout
Mar 31, 2026
Merged

fix/rtsp stream timeout#3
daya0576 merged 7 commits intomainfrom
fix/rtsp-stream-timeout

Conversation

@daya0576
Copy link
Copy Markdown
Owner

  • chore(ui): disable auto-open browser on startup
  • fix(streams): set OpenCV interrupt-callback timeouts to 5s for RTSP

Use CAP_PROP_OPEN_TIMEOUT_MSEC and CAP_PROP_READ_TIMEOUT_MSEC before
cap.open() to override the default 30s hang in cap_ffmpeg_impl.hpp.
Also switch to TCP transport and set FFmpeg stimeout as a second layer.
Fix typo in reconnect log message and add missing continue after sleep.
Using .set() after construction is silently ignored in most OpenCV builds.
Passing CAP_PROP_OPEN_TIMEOUT_MSEC and CAP_PROP_READ_TIMEOUT_MSEC as
constructor params is the reliable way to override the default 30s
interrupt-callback timeout seen in cap_ffmpeg_impl.hpp.
@daya0576 daya0576 merged commit 212fcfa into main Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant