linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Reduced mic sample rate increases audio playba


From: Johan Pascal
Subject: Re: [Linphone-developers] Reduced mic sample rate increases audio playback delay
Date: Fri, 23 Jan 2015 11:34:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Balder,
yes using audiofilters/device.c table to set specifics parameter for your sound card is the correct way.

Unfortunately it looks like the hardware you use have a hard time having both recording and playback using 8kHz sampling rate but there is no easy way in Linphone to set different sampling rate for recording and playback.

johan


On 22/01/15 10:43, Balder Mørk wrote:
I'm running Linphone on an Android device which will only record sound
in 8000Hz. To make the microphone work, I added the following line to
mediastreamer2/src/audiofilters/devices.c:

{ "2N", "IndoorTouch", "omap3", 0, 0, 8000 },

This made the microphone work, but it has the side effect of increasing
audio playback delay from an almost-acceptable 0.8 seconds to almost 2
seconds (tested using mobile phone -> sip). This is very annoying during
video calls, as the video has no noticeable delay. Am I using the right
approach, or is there a better way to override audio recording settings
without affecting playback?


Balder

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

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