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

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

 



Hi Samuel,
Thanks for the reply.

In 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<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 <sip%3A0722511898 at 072.012.net>
;user=phone)


Regards,
Maya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100312/01ae1252/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