Read the audio file while it's being written in NodeJS

后端 未结 1 1755
情深已故
情深已故 2021-01-29 02:54

I am capturing audio through alsa using ffmpeg and writing it to a wav file. But as it\'s being written I need to send the captured audio to some 3rd party. I have tried few met

1条回答
  •  一整个雨季
    2021-01-29 03:13

    I don't know why this question was down voted. But after a lot of googling I found a NPM which does this job for you:

    Tailing Stream NPM

    It will read the audio file as long as it's being written and give you the output as stream.

    0 讨论(0)
提交回复
热议问题