I am using VAD and I am noticing that the SpeechStarted event is continuously firing even though there is radio silence on the mic.
For example here is my code:
const live = deepgram.listen.live({
model: "nova-3",
language: "en-US",
smart_format: true,
encoding: "linear16",
sample_rate: 24000,
interim_results: true,
utterance_end_ms: 5000, // Wait for 5 seconds of silence
vad_events: true,
punctuation: true,
// endpointing: 300,
});
live.on("SpeechStarted", (data: any) => {
console.log("Speech started at:", data.timestamp);
});
My console looks like this:
Speech started at: 0.21
Speech started at: 1.66
Speech started at: 3.23
Speech started at: 4.52
Speech started at: 5
Speech started at: 5.35
Speech started at: 5.82
Speech started at: 6.12
Speech started at: 6.71
Speech started at: 7.98