docs.rs failed to build wavey-rist-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Safe Rust bindings for librist (RIST protocol).
RIST (Reliable Internet Stream Transport) is a protocol for reliable video streaming over lossy networks with low latency.
Example
use rist::{Receiver, Profile};
use std::time::Duration;
let mut receiver = Receiver::new(Profile::Main)?;
receiver.add_peer("rist://@:5000")?;
receiver.start()?;
loop {
if let Some(data) = receiver.read(Duration::from_millis(100))? {
// Process received data
}
}
# Ok::<(), rist::Error>(())