|
From: | Alejandro |
Subject: | Re: [Linphone-developers] python linphone RPI3 |
Date: | Sat, 19 Mar 2016 10:26:24 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 |
Hi Leland Regarding your question: To get audio input from a mic you will need a soundcard with such capacity. I used a cheap USB sound card. Some devices tested on the PI can be find here: http://elinux.org/RPi_VerifiedPeripherals#USB_Sound_Cards First, check that with your device that you are able to record sounds (e.g. arecord). You can easily find posts about this. Once you have the sound card configured, it should be easy to use in your python script. In the script you are based on from https://wiki.linphone.org/wiki/index.php/Raspberrypi:start, I just had to change the snd_capture parameter with the id string related to my sound device (snd_capture=id_device) . You can find the id_device string in alsamixer, or just in the first lines of the log output when running the python script. In my case I had to set "snd_capture='ALSA: USB PnP Sound Device'". Hope this helps. Best Alex -- On 18/03/2016 21:43, Leland Green
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |