Hi,<br><br>I was developing an application for Linux using the SIPSIMPLE python SDK and found also audio problems such an annoying background noise in most of the calls. Blink in Linux was also producing this noise. As soon as I ported the application to use the python interface that comes with pjsip, the audio problems disappeared. I used pjsua-1.8.10, just in case it's of any help to find the problem.<br>

<br>Best regards,<br><br>Santi<br><br><div class="gmail_quote">2011/5/10 Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

i have been suffering from sipclient/blink audio problems in linux.  now<br>
i tested with pjsua application that comes with pjsip source code and<br>
with pjsua audio works fine.<br>
<br>
pjsua call uses audio like this:<br>
<br>
 16:31:29.121  pjsua_media.c  Opening sound device PCM@44100/1/20ms<br>
 16:31:29.147    ec0x8a98ae8  AEC created, clock_rate=44100, channel=1,<br>
 samples per frame=882, tail length=200 ms, latency=115 ms<br>
 ...<br>
  16:31:29.190  pjsua_media.c  Media updates, stream #0: speex (sendrecv)<br>
 16:31:29.190   conference.c  Port 3 (<a href="mailto:sip%3Ajh@as.test.fi">sip:jh@as.test.fi</a>) transmitting to port 0 (HDA Intel MID: ALC269 Analog (hw:0,0) (44KHz))<br>
 16:31:29.190   conference.c  Port 0 (HDA Intel MID: ALC269 Analog<br>
 (hw:0,0) (44KHz)) transmitting to port 3 (<a href="mailto:sip%3Ajh@as.test.fi">sip:jh@as.test.fi</a>)<br>
<br>
i have not specified any audio devices for pjsua, so it is using default<br>
devices, but i'm not quite sure what the default is.<br>
<br>
auddemo finds these:<br>
<br>
Found 7 devices:<br>
  0: PA [HDA Intel MID: ALC269 Analog (hw:0,0)] (2/4)<br>
  1: PA [front] (0/4)<br>
  2: PA [surround40] (0/4)<br>
  3: PA [surround51] (0/4)<br>
  4: PA [surround71] (0/4)<br>
  5: PA [default] (128/128)<br>
  6: PA [dmix] (0/2)<br>
<br>
so i guess default is 'default'.<br>
<br>
in sipclient i have<br>
<br>
        +-- alert_device = default<br>
audio --|-- directory = UserDataPath(u'history')<br>
        |-- input_device = default<br>
        |-- output_device = default<br>
        |-- sample_rate = 44100<br>
        |-- silent = False<br>
        +-- tail_length = 100<br>
<br>
and in blink if i try to set audio devices to anything else than System<br>
Default, blink hangs<br>
<br>
even when audio settings seem to be equal with pjsua, there is no audio<br>
with sipclient or blink.  perhaps the problem is related to different<br>
version of pjmedia lib?<br>
<br>
-- juha<br>
_______________________________________________<br>
SIPBeyondVoIP mailing list<br>
<a href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a><br>
<a href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" target="_blank">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a><br>
</blockquote></div><br>