linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Linphonec: How to receive in soundcard while sendin


From: gegetel
Subject: Re: [Linphone-users] Linphonec: How to receive in soundcard while sending from file
Date: Wed, 04 Dec 2013 18:19:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22

Le 02/12/2013 18:56, I wrote :
Hello,

Is it possible to send sound from a wav file and, in the same time, receive
answer in my headphone ?

I have tried this :

$ linphonecsh generic 'soundcard use files'
$ linphonecsh generic 'play /tmp/sent.wav'
$ linphonecsh generic 'record /tmp/received.wav'
$ aplay /tmp/received.wav &

I do get this last message :

$ aplay  /tmp/received.wav &
[2] 26881
Lecture WAVE '/tmp/received.wav' : Signed 16 bit Little Endian, Fréquence
8000 Hz, Mono

But there is not really an aplay processus running

(The file received.wav is really created since I can hear it after the call
is terminated, but I don't hear it in "real time".)

Today found this explanation: Before the call is terminated, the received.wav file doesn't have any header ! For me to hear it in nearly real time, a right command can be that one :
$ aplay -f S16_LE -c 1 -r 8000 -t wav --buffer-size=96 /tmp/received.wav &

Happy end, but artificial method, isn't it ?




reply via email to

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