FFMPEG segment audio stream based on silence
I have a websocket connection that gets a stream of audio. I am piping the stream to FFMPEG and using it to segemnt the audio in real time. Currenlty the audio does get segemented but all the segemented audio is 10 seconds long rather than being segmented when silence is detected. I am using node.js typescript: