Skip to main content

Module stream

Module stream 

Source
Expand description

Streaming builder and configuration helpers bridging tl-gige with higher-level GenICam consumers.

The builder performs control-plane negotiation (packet size, delay) and prepares a UDP socket configured for reception. Applications can retrieve the socket handle to drive their own async pipelines while relying on the shared StreamStats accumulator for monitoring.

§High-Level Streaming

For most use cases, FrameStream provides an ergonomic async iterator over reassembled frames:

let stream = FrameStream::new(raw_stream, None);
while let Some(frame) = stream.next_frame().await? {
    println!("{}x{} frame", frame.width, frame.height);
}

Structs§

FrameStream
High-level async iterator over reassembled GVSP frames.
Stream
Handle returned by StreamBuilder providing access to the configured packet source and statistics.
StreamBuilder
Builder for configuring a GVSP stream.
U3vFrameStream
Async frame iterator wrapping blocking USB3 Vision bulk reads.
U3vStreamBuilder
Builder for configuring and starting a U3V frame stream.

Enums§

StreamDest
Destination for GVSP packets received by the stream.