Expand description
NDI receiving functionality for video, audio, and metadata.
§Monitoring Connection Status
The receiver can monitor connection status changes:
// In real usage, obtain the source from Finder::find_sources().
let options = ReceiverOptions::builder(source)
.bandwidth(ReceiverBandwidth::MetadataOnly)
.build();
let receiver = Receiver::new(&ndi, &options)?;
// Poll for status changes
if let Some(status) = receiver.poll_status_change(Duration::from_millis(1000))? {
println!("Active connections: {}", status.connections);
}Structs§
- Capture
- A typed view over a
Receiverfor capturing frames of one kind. - Connection
Stats - Connection and performance statistics for a receiver.
- Receiver
- An owned NDI receiver. The default mode permits all raw capture kinds. FrameSync privately changes the mode while retaining the same resource core.
- Receiver
Options - Receiver
Options Builder - Builder for configuring a ReceiverOptions with ergonomic method chaining
- Receiver
Status - An SDK status-change notification and the current connection count.
- Tally
Enums§
- Frame
Sync Attached - Receiver mode held exclusively by
crate::FrameSync, without raw video access. - RawCapture
- Ordinary receiver mode, permitting raw video capture.
- Receiver
Bandwidth - Operational bandwidth modes for receivers.
- Receiver
Color Format - Operational color formats for received video frames.
Traits§
- Receiver
Mode - Sealed receiver capability mode. Common controls, audio, and metadata work in both modes.