
Opens a network URL or custom GStreamer pipeline selected by source and emits decoded VideoFrame values.
Decode a network stream, detect objects, and send results as JSON.
source can cause frames to be lost until the next keyframe. A decoding failure can also end the current attempt and trigger a reconnect.source starts with `url:` followed by an HTTP, HTTPS, RTSP, RTSPS, RTMP or RTMPS URL, or `pipeline:` followed by a nonempty GStreamer pipeline. URL schemes are case-insensitive; whitespace and characters outside the allowed URL character set are refused. A custom pipeline is opened as given and must deliver 8-bit BGR to an appsink; use a trusted pipeline.retry_delay_ms, doubling on further failures up to 60 seconds. After reconnect_attempts reconnects in a row without a frame, the worker fails with the last error unchanged, including its type, message and nested causes. The reconnect count is logged before the error is raised. A delivered frame resets the count. A confirmed finite end after frames reconnects after retry_delay_ms, so finite input replays repeatedly. OpenCV's false return carries no error object; in that case the reader reports that the pipeline could not open or its frame read failed.source, a failed read is always a failure. For other sources a read is a clean end only when OpenCV reports a positive finite frame count and a frame position at or beyond it; an unknown count or earlier position is a failure. Incorrect capture properties can therefore misclassify the end.timeout_ms is passed to OpenCV for pipeline opening and reads; a backend that ignores the timeout can stall. width and height set output dimensions independently; Nothing keeps the corresponding input dimension, without automatic aspect ratio preservation. drop_frames allows output frames to be dropped under backpressure; otherwise the producer blocks. Generated pipelines also use bounded buffering selected by drop_frames; custom pipelines control their own buffering.source or drop_frames change that alters the pipeline reopens it at a frame boundary and resets the failure count. timeout_ms takes effect on the next open; retry_delay_ms and reconnect_attempts affect later reconnects. Size and backpressure changes apply to later frames. Updates are applied together; each open, frame and reconnect decision uses one parameter snapshot, including whether the source changed.live-test prerelease
Automated release