Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

very aggressive by default for webrtc

matthew-heartful790e49e88545
diff --git a/screenpipe-audio/src/vad_engine.rs b/screenpipe-audio/src/vad_engine.rs
index 4bf698658..4f5dd4816 100644
--- a/screenpipe-audio/src/vad_engine.rs
+++ b/screenpipe-audio/src/vad_engine.rs
@@ -1,9 +1,8 @@
use std::path::PathBuf;
-use vad_rs::{Vad, VadStatus};
+use vad_rs::{Vad};
use anyhow;
use std::io::Write;
use log::debug;
-use ndarray::{Array3, ArrayBase, OwnedRepr, Ix3};
pub enum VadEngineEnum {
WebRtc,
@@ -19,7 +18,7 @@ pub struct WebRtcVad(webrtc_vad::Vad);
impl WebRtcVad {
pub fn new() -> Self {
let mut vad = webrtc_vad::Vad::new();
- vad.set_mode(webrtc_vad::VadMode::Quality);
+ vad.set_mode(webrtc_vad::VadMode::VeryAggressive);
Self(vad)
}
}