diff options
| author | salmonik <salmonik@tuta.io> | 2026-09-09 15:01:15 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-09-09 15:01:15 +0200 |
| commit | f94e6f14bf31eaecf1e2c324067b192bfa603e65 (patch) | |
| tree | adf621cd02546149fda707819a48b6bbb1fc1e22 | |
| parent | record: 2x gain on mp3 encode (diff) | |
| download | senator-sperma-f94e6f14bf31eaecf1e2c324067b192bfa603e65.tar.gz senator-sperma-f94e6f14bf31eaecf1e2c324067b192bfa603e65.zip | |
silence songbird udp_rx decode noise
Signed-off-by: salmonik <salmonik@tuta.io>
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 8225751..df40481 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -115,7 +115,12 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { | |||
| 115 | tracing_subscriber::fmt() | 115 | tracing_subscriber::fmt() |
| 116 | .with_env_filter( | 116 | .with_env_filter( |
| 117 | EnvFilter::builder() | 117 | EnvFilter::builder() |
| 118 | .parse(std::env::var("RUST_LOG").unwrap_or_else(|_| "info".into())) | 118 | .parse(&format!( |
| 119 | "{},songbird::driver::tasks::udp_rx=off", | ||
| 120 | // Known songbird noise: opus InvalidPacket on some | ||
| 121 | // incoming SSRCs; harmless for recording, huge span dumps. | ||
| 122 | std::env::var("RUST_LOG").unwrap_or_else(|_| "info".into()) | ||
| 123 | )) | ||
| 119 | .unwrap(), | 124 | .unwrap(), |
| 120 | ) | 125 | ) |
| 121 | .init(); | 126 | .init(); |
