Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

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

 



Did you update : pjmedia/include/pjmedia-audiodev/config.h ?
In iphone_dev.c could you enable TRACE ? Because it seems the issue 
comes from audio dev lack.

I uploaded a new version of patch. Perhaps it will help you.

Samuel

Le 12/03/10 00:19, Maya Zalcberg a ?crit :
> Hi Samuel,
> Thanks for the reply.
>
> In os-auto.mak.in <http://os-auto.mak.in>, i used your code from the 
> patch "patch-audioqueue-dev".
> So instead of  these lines:
>
> # iPod/iPhone
> #
> ifeq ($(AC_PJMEDIA_SND),iphone)
> # LEGACY
> #export PJMEDIA_OBJS += iphonesound.o
> #export CFLAGS += -DPJMEDIA_AUDIO_LEG_HAS_AUDIOQUEUE=1 \
> #    -DPJMEDIA_HAS_LEGACY_SOUND_API=0 \
> #    -DPJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE=1
> endif
>
> I wrote:
>
> #
> # iPod/iPhone
> #
> ifeq ($(AC_PJMEDIA_SND),iphone)
> # AUDIO DEV
> export PJMEDIA_AUDIODEV_OBJS += iphone_dev.o
> export CODEC_OBJS += passthrough.o
> export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE=1
> export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 
> -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
> endif
>
> I also added the file iphone_dev.c.
>
> When my client is trying to make a call or to answer an incoming call, 
> i get that error: "Unable to find default audio device 
> (PJMEDIA_EAUD_NODEFDEV) ".
>
> I was expecting something like this instead:
>
> 01:09:52.923   conference.c  Port 2 (ring) stop transmitting to port 0 
> (iPhone Sound Device)
>  01:09:52.923   conference.c  Port 3 (sip:0722511898 at 072.012.net 
> <mailto:sip%3A0722511898 at 072.012.net>;user=phone) transmitting to port 
> 0 (iPhone Sound Device)
>  01:09:52.924   conference.c  Port 0 (iPhone Sound Device) 
> transmitting to port 3 (sip:0722511898 at 072.012.net 
> <mailto:sip%3A0722511898 at 072.012.net>;user=phone)
>
>
> Regards,
> Maya
>
>
> _______________________________________________
> 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
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100312/2be848c7/attachment.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