linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Python API: recorder audio quality


From: Diogo Paschoal
Subject: [Linphone-developers] Python API: recorder audio quality
Date: Wed, 6 Apr 2016 15:29:18 -0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi, Guys.
I'm working with the python api and i'm doing voice mailbox and tones detection (SIT tones) using a recorded file. From what i've seen, even after i've contrainted the codecs to be used, the wav file sample rate still is 8KHz.
 So, what my guess is the recorder is forcing this sample rate.
 There is a way to change this?

Python code to constraint the codecs:
core.audio_codecs = [c for c in core.audio_codecs if (c.channels == 1 and c.normal_bitrate > 16000 and c.normal_bitrate < 70000)]

I'm using version 3.9.1 in a windows 10 machine.

Thanks,

Diogo Paschoal.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]