Hi, Yes I follow : http://www.pjsip.org/trac/wiki/audio-problem-dropouts test - 1: ko - 2 : ok - 3 : ok, I think (see below) - 4 : CPU is high but with *--ec-tail 0, **--clock-rate 8000, *the communication is possible, but the voice is metallic !! - 5 : not for me (ipod/iphone) - 6 : I redevelop sound device because port_audio doesn't work on ipod/iphone Do you have ideas ? Samuel 09:51:38.556 pjsua_app.c [CONFIRMED] To: sip:XXXXXX at freephonie.net;tag=00-08191-02f33245-3dba68e06 Call time: 00h:00m:43s, 1st res in 1333 ms, conn in 6512ms #0 PCMA @8KHz, sendrecv, peer=212.X.X.X:36748 RX pt=8, stat last update: 00h:00m:05.024s ago total 1.4Kpkt 347.7KB (405.7KB +IP hdr) @avg=64.0Kbps/74.6Kbps pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%) (msec) min avg max last loss period: 0.000 0.000 0.000 0.000 jitter : 0.000 0.771 39.500 0.750 TX pt=8, ptime=20ms, stat last update: never total 952pkt 148.1KB (186.2KB +IP hdr) @avg 27.2Kbps/34.2Kbps pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%) (msec) min avg max last loss period: 0.000 0.000 0.000 0.000 jitter : 0.000 0.000 0.000 0.000 RTT msec : 0.000 0.000 0.000 0.000 Benny Prijono a ?crit : > Samuel Vinson wrote: > >> Hi Benny, >> >> I manage without problem playback and record. For this, I use >> pjmedia_snd_port_create_player >> pjmedia_snd_port_create_rec >> >> But when I use pjsua, the micro works badly. >> I checked that Microphone and Speaker are Functioning Properly (cc 0 0), >> and the audio is sounding like it's skipping some frames. >> Does pjsua uses pjmedia_snd_port_create ? >> > > Yes it does. > > >> If yes, can I test like that, to know if the problem comes from that ? >> pjmedia_wav_player_port_create(..., &file_play_port); >> pjmedia_wav_writer_port_create(..., &file_rec_port); >> pjmedia_snd_port_create(..., &snd_port) >> pjmedia_snd_port_connect( snd_port, file_rec_port); >> pjmedia_snd_port_connect( snd_port, file_play_port); >> > > Unfortunately you can't, because the last connect() will disconnect > the previous connection. > > >> In Pjsua, is it possible to not use pjmedia_snd_port_create but >> pjmedia_snd_port_create_player and pjmedia_snd_port_create_rec ? by >> configuration or option ? >> > > We probably can do this, but I'm not sure if it will solve the > problem. Can you follow this audio troubleshooting wiki and see if > it can solve the problem?: > http://www.pjsip.org/trac/wiki/audio-problem-dropouts > > cheers, > -benny > > >> Thanks in advance >> >> Samuel >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > >