silence detection not working for record
Hello, I have the following line in my perl ESL code to record a message. No matter how long I wait in mute after recording, it does not stop recording. con->execute('record', '${file} 300 200 4' ); Please help. Thanks, Ali Pey
Hello, I just wanted to provide an update in case anyone else ran into this problem. The reason the silence detection was not working was that I hadn't specified .wav at the end of the file name. So it was giving me this error: *Can't detect silence on a native** recording.* Which means you cannot detect silence on an encoded format because you would have to decode it to be able to detect the silence. If you want to detect silence use a standard wav/pcm format. I added .wav at the end of my file name and it is working now. Regards, Ali Pey On Thu, Oct 24, 2013 at 4:11 PM, Ali Pey <alipey@gmail.com> wrote:
Hello,
I have the following line in my perl ESL code to record a message. No matter how long I wait in mute after recording, it does not stop recording.
con->execute('record', '${file} 300 200 4' );
Please help.
Thanks, Ali Pey
participants (1)
-
Ali Pey