maces build trouble

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

 



Hi.
i was try to using various audio (portaudio or coreaudio) options for macos, but i have no voice to both sides.
here is how it looking for:

default settings:
        status = pjsua_set_snd_dev(app_config->capture_dev,
                                   app_config->playback_dev);

ask to using 0 and 0 capture and playback devices. But i have error:

- for PA:

2012-11-19 17:43:48.916[56296:303] ========> 17:43:48.916    pjsua_aud.c !Set sound device: capture=0, playback=0
2012-11-19 17:43:48.916[56296:303] ========> 17:43:48.916    pjsua_aud.c  .Opening sound device PCM at 8000/1/20ms
2012-11-19 17:43:48.955[56296:303] ========> 17:43:48.955    pjsua_aud.c  .Opening sound device PCM at 44100/1/20ms
2012-11-19 17:43:48.958[56296:303] ========> 17:43:48.958    pjsua_aud.c  .Opening sound device PCM at 48000/1/20ms
2012-11-19 17:43:48.964[56296:303] ========> 17:43:48.964    pjsua_aud.c  .Opening sound device PCM at 32000/1/20ms
2012-11-19 17:43:48.971[56296:303] ========> 17:43:48.971    pjsua_aud.c  .Opening sound device PCM at 16000/1/20ms
2012-11-19 17:43:48.975[56296:303] ========> 17:43:48.975    pjsua_aud.c  .Opening sound device PCM at 8000/1/20ms
2012-11-19 17:43:48.978[56296:303] ========> 17:43:48.978    pjsua_aud.c  .Unable to open sound device: Invalid number of channels [status=469997]

- for CA:

2012-11-19 17:30:29.872 CallsFreeCalls[40518:303] ========> 17:30:29.872    pjsua_aud.c !Set sound device: capture=0, playback=0
2012-11-19 17:30:29.872 CallsFreeCalls[40518:303] ========> 17:30:29.872    pjsua_aud.c  .Opening sound device PCM at 8000/2/20ms
2012-11-19 17:30:29.878 CallsFreeCalls[40518:303] ========> 17:30:29.878 coreaudio_dev.  ..Opening device 40
2012-11-19 17:30:29.879 CallsFreeCalls[40518:303] ========> 17:30:29.879    pjsua_aud.c  .Opening sound device PCM at 44100/2/20ms
2012-11-19 17:30:29.880 CallsFreeCalls[40518:303] ========> 17:30:29.880 coreaudio_dev.  ..Opening device 40
2012-11-19 17:30:29.881 CallsFreeCalls[40518:303] ========> 17:30:29.881    pjsua_aud.c  .Opening sound device PCM at 48000/2/20ms
2012-11-19 17:30:29.883 CallsFreeCalls[40518:303] ========> 17:30:29.883 coreaudio_dev.  ..Opening device 40
2012-11-19 17:30:29.883 CallsFreeCalls[40518:303] ========> 17:30:29.883    pjsua_aud.c  .Opening sound device PCM at 32000/2/20ms
2012-11-19 17:30:29.885 CallsFreeCalls[40518:303] ========> 17:30:29.885 coreaudio_dev.  ..Opening device 40
2012-11-19 17:30:29.885 CallsFreeCalls[40518:303] ========> 17:30:29.885    pjsua_aud.c  .Opening sound device PCM at 16000/2/20ms
2012-11-19 17:30:29.887 CallsFreeCalls[40518:303] ========> 17:30:29.887 coreaudio_dev.  ..Opening device 40
2012-11-19 17:30:29.887 CallsFreeCalls[40518:303] ========> 17:30:29.887    pjsua_aud.c  .Opening sound device PCM at 8000/2/20ms
2012-11-19 17:30:29.889 CallsFreeCalls[40518:303] ========> 17:30:29.889 coreaudio_dev.  ..Opening device 40
2012-11-19 17:30:29.889 CallsFreeCalls[40518:303] ========> 17:30:29.889    pjsua_aud.c  .Unable to open sound device: Core audio error [status=450851]

Here is a list of devices for CA:


2012-11-19 17:30:21.990 CallsFreeCalls[40518:303] ========> 17:30:21.990 coreaudio_dev.  ..core audio detected 3 devices
2012-11-19 17:30:21.995 CallsFreeCalls[40518:303] ========> 17:30:21.995 coreaudio_dev.  .. dev_id 0: Built-in Microphone  (in=2, out=0) 44100Hz
2012-11-19 17:30:21.996 CallsFreeCalls[40518:303] ========> 17:30:21.996 coreaudio_dev.  .. dev_id 1: Built-in Input  (in=2, out=0) 44100Hz
2012-11-19 17:30:21.997 CallsFreeCalls[40518:303] ========> 17:30:21.997 coreaudio_dev.  .. dev_id 2: Built-in Output  (in=0, out=2) 44100Hz

I was try to put correct capture_dev and playback_dev in my case it looks like correct choice is 0 for capture and 2 for playback, but i don't hear terminator side and terminator don't heard me.

i see alot of calls in log level 5:
GET prefetch_cnt=0/0

any suggestion?
macos montain lion, macbook pro...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121119/3a23bb34/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux