Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
manglemix committed May 6, 2024
1 parent f4df754 commit b21da73
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion lunabotics/lunabase-lib/src/telemetry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,27 @@ impl INode for LunabotConn {
}
macro_rules! make_ffplay {
() => {{
// let mut child = std::process::Command::new("ffplay")
// .args([
// "-protocol_whitelist",
// "file,rtp,udp",
// "-i",
// "camera.sdp",
// "-flags",
// "low_delay",
// "-avioflags",
// "direct",
// "-probesize",
// "32",
// "-analyzeduration",
// "0",
// "-sync",
// "ext",
// "-framedrop",
// ])
let mut child = std::process::Command::new("mplayer")
.args(["-monitorpixelaspect", "1", "sdp://camera.sdp"])
.args(["-monitorpixelaspect", "1", "-nocache", "sdp://camera.sdp"])
// .args(["rtp://192.168.0.102:43722"])
.stderr(Stdio::piped())
.spawn()
.expect("Failed to init ffplay process");
Expand Down

0 comments on commit b21da73

Please sign in to comment.