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 ?
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users