ENT-1544 B3: OpenCV/FFmpeg RTSPS TLS fallback - #2727
Conversation
|
👋 Thanks for the pull request! Here is how automated Claude review works here, so you spend credits (and reviewer time) wisely. 🚦 This PR is marked Ready for review, so automated Claude review will run — and every pass spends real credits. Warning 💸 The Claude reviewer bills in credits, not vibesAutomated review spins up a real agent that reads real code and spends real credits on every pass. It is glad to help — but it is not a rubber duck, a linter you poke in a loop, or a substitute for reading the contributing guide. Treat it like an expensive senior reviewer whose time you booked, and show up prepared. Draft when unsure, Ready when you mean it:
However you get there, arrive prepared:
Reviews are not free. A draft costs nothing to review; a Ready PR is a promise that it is worth reviewing.
|
|
Nicholas Vergunst seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
🤖 Claude review started at commit New commits are not auto-reviewed. Add the |
|
@NVergunst-ROBO — thanks for the PR. A few things need clarifying before this can advance. ⏳ This PR is ON HOLD pending your answers. The review will not proceed to sign-off, and the PR should not be merged, until the IMPORTANT questions below are addressed. No hard blocking bug was found in the isolated builder logic — but that's largely because these helpers are dead code: a repo-wide search shows Questions
Note on testsThe unit tests cover the builder happy paths and are isolated (via Re-reviewNew commits are NOT auto-reviewed. Once you've answered and/or pushed changes, add the Reviewed at HEAD: 9740eda |
69fd896 to
d26d695
Compare
|
Same CLA cleanup as #2725 — rewrote branch onto current Expanded unit tests for CA fallback, strict-verify unchanged, gstreamer suffix helper, and This remains an inert scaffold — helpers are not imported by |
|
Introduces rtsp_tls module with ROBOFLOW_RTSP_TLS_VALIDATION_FLAGS parsing ported from agent/fix-jetson-nvjpeg-runtime. Full Jetson rtspsrc wiring in follow-up. Co-authored-by: Cursor <cursoragent@cursor.com>
Wire rtsps:// on Jetson to a GStreamer CAP_GSTREAMER pipeline with user-id/user-pw auth (not creds in location), ROBOFLOW_RTSP_TLS_VALIDATION_FLAGS, and GST_SSL_CA_CERTIFICATE propagation. Plain rtsp:// stays on CV2. Co-authored-by: Cursor <cursoragent@cursor.com>
parsebin/avdec_h264 hung or were missing on nick-shed; rtph264depay through nvv4l2decoder is the working E2E decode path on Jetson inference images. Co-authored-by: Cursor <cursoragent@cursor.com>
…nv lock. Emit tls_verify;1 for default/strict RTSPS paths, merge existing OPENCV_FFMPEG_CAPTURE_OPTIONS keys, and expose opencv_rtsps_tls_env context manager with a process lock spanning set → VideoCapture open → restore.
d26d695 to
209808a
Compare
|
Addressed all four items in 209808a: P1 — strict verify: default/unset and non-relaxed flag values now emit P1 — concurrency: replaced P2 — merge existing options: P2 — B2 composition: rebased onto |
B2 GStreamer RTSPS wiring landed on main via B3 (#2727). This commit rebases the branch and adds the negative-integer validation test from Claude review feedback.
Summary
OPENCV_FFMPEG_CAPTURE_OPTIONSwhen GStreamer path unavailable.rtsp_tlshelpers for GStreamer and OpenCV ingest paths.ENT-1544
Phase B3 — non-Jetson / fallback RTSPS. Plan:
cursor-cloud/features/ent-1544/plans/B3-inference-opencv.md.Replaces closed #2724 after branch rename.
Dependencies
How has this change been tested?
pytest tests/inference/unit_tests/core/interfaces/camera/test_rtsp_opencv_tls.py— non-RTSPS, CA bundle (GST_SSL_CA_CERTIFICATE/SSL_CERT_FILE), self-signed flags (0and126), strict verify unchanged, gstreamer suffix helper, env apply + previous-value restore.Test plan
video_source/ OpenCV capture open path (follow-up)