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

AO
Angel Of Retributioin
Tue, Mar 9, 2010 7:58 AM

Hi ,
I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries are
all created and the registration done successfully, when i try to make call
it gives the followning error " 11:51:28.685  pjsua_media.c  Error
retrieving default audio device parameters: Unable to find default audio
device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch
that Samuel added from http://code.google.com/p/siphon/downloads/list.
Is this patch meant to be used in 1.4 and above only?
Any pointer is appreciated.

Regards,
Elangbam Johnson

Hi , I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries are all created and the registration done successfully, when i try to make call it gives the followning error " 11:51:28.685 pjsua_media.c Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch that Samuel added from http://code.google.com/p/siphon/downloads/list. Is this patch meant to be used in 1.4 and above only? Any pointer is appreciated. Regards, Elangbam Johnson
AO
Angel Of Retributioin
Wed, Mar 10, 2010 2:02 PM

On 9 March 2010 13:28, Angel Of Retributioin elangbamjohnson@gmail.comwrote:

Hi ,
I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries are
all created and the registration done successfully, when i try to make call
it gives the followning error " 11:51:28.685  pjsua_media.c  Error
retrieving default audio device parameters: Unable to find default audio
device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch
that Samuel added from http://code.google.com/p/siphon/downloads/list.
Is this patch meant to be used in 1.4 and above only?
Any pointer is appreciated.

any update regarding the error. The same is happen in 1.5 also, I suppose
something basic thing is missing. And one more thing.. is it require to
enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE,  I enable it as
#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE  1 in config_site.h but none
works and gives the same error.

Regards,
Elangbam Johnson

On 9 March 2010 13:28, Angel Of Retributioin <elangbamjohnson@gmail.com>wrote: > > Hi , > I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries are > all created and the registration done successfully, when i try to make call > it gives the followning error " 11:51:28.685 pjsua_media.c Error > retrieving default audio device parameters: Unable to find default audio > device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch > that Samuel added from http://code.google.com/p/siphon/downloads/list. > Is this patch meant to be used in 1.4 and above only? > Any pointer is appreciated. > > > any update regarding the error. The same is happen in 1.5 also, I suppose something basic thing is missing. And one more thing.. is it require to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE, I enable it as #define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 1 in config_site.h but none works and gives the same error. Regards, Elangbam Johnson
S
sa_bmr
Wed, Mar 10, 2010 3:04 PM

Did you ensure you have the correct ipodsound.c file from the Siphon
project (iphonesound-20091226.c) copied to the right directory?

The file linked on the compilation page (http://code.google.com/p/siphon/wiki/Compilation
) is an older version (20080519) than the one linked in the Downloads
section (20091226). Get the 2009 version and try again.

any update regarding the error. The same is happen in 1.5 also, I
suppose something basic thing is missing. And one more thing.. is it
require to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE,  I enable
it as
#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE  1 in config_site.h but
none works and gives the same error.

Regards,
Elangbam Johnson

Did you ensure you have the correct ipodsound.c file from the Siphon project (iphonesound-20091226.c) copied to the right directory? The file linked on the compilation page (http://code.google.com/p/siphon/wiki/Compilation ) is an older version (20080519) than the one linked in the Downloads section (20091226). Get the 2009 version and try again. > any update regarding the error. The same is happen in 1.5 also, I > suppose something basic thing is missing. And one more thing.. is it > require to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE, I enable > it as > #define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 1 in config_site.h but > none works and gives the same error. > > Regards, > Elangbam Johnson >
SO
Shayne O'Neill
Thu, Mar 11, 2010 3:25 AM

There should be a patch somewhere on this list that fixes legacy support. Not really sure why it wasn't integrated in, but its around.

It probably should work on the 1.5 series but I know it definately works on the 1.4 series.

On 10/03/2010, at 10:02 PM, Angel Of Retributioin wrote:

On 9 March 2010 13:28, Angel Of Retributioin elangbamjohnson@gmail.com wrote:

Hi ,
I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries are all created and the registration done successfully, when i try to make call it gives the followning error " 11:51:28.685  pjsua_media.c  Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch that Samuel added from http://code.google.com/p/siphon/downloads/list.
Is this patch meant to be used in 1.4 and above only?
Any pointer is appreciated.

any update regarding the error. The same is happen in 1.5 also, I suppose something basic thing is missing. And one more thing.. is it require to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE,  I enable it as
#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE  1 in config_site.h but none works and gives the same error.

Regards,
Elangbam Johnson


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

---==
Shayne O'Neill Development
Mobile, Web and Business process integration.
shayne.oneill@gmail.com 0400247091

There should be a patch somewhere on this list that fixes legacy support. Not really sure why it wasn't integrated in, but its around. It *probably* should work on the 1.5 series but I know it definately works on the 1.4 series. On 10/03/2010, at 10:02 PM, Angel Of Retributioin wrote: > > > On 9 March 2010 13:28, Angel Of Retributioin <elangbamjohnson@gmail.com> wrote: > > Hi , > I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries are all created and the registration done successfully, when i try to make call it gives the followning error " 11:51:28.685 pjsua_media.c Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch that Samuel added from http://code.google.com/p/siphon/downloads/list. > Is this patch meant to be used in 1.4 and above only? > Any pointer is appreciated. > > > > > any update regarding the error. The same is happen in 1.5 also, I suppose something basic thing is missing. And one more thing.. is it require to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE, I enable it as > #define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 1 in config_site.h but none works and gives the same error. > > Regards, > Elangbam Johnson > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org =================================== Shayne O'Neill Development Mobile, Web and Business process integration. shayne.oneill@gmail.com 0400247091
MZ
Maya Zalcberg
Thu, Mar 11, 2010 7:49 AM

Hi.
I also used Samuel's patch "patch-audioqueue-dev" for 1.5 series (I would
like to thank Samuel for that!) and got the same error: "Unable to find
default audio device (PJMEDIA_EAUD_NODEFDEV) ".

Elangbam, did you solve it?

Regards,
Maya

On Thu, Mar 11, 2010 at 5:25 AM, Shayne O'Neill shayne.oneill@gmail.comwrote:

There should be a patch somewhere on this list that fixes legacy support.
Not really sure why it wasn't integrated in, but its around.

It probably should work on the 1.5 series but I know it definately works
on the 1.4 series.

On 10/03/2010, at 10:02 PM, Angel Of Retributioin wrote:

On 9 March 2010 13:28, Angel Of Retributioin elangbamjohnson@gmail.com

wrote:

Hi ,
I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries

are all created and the registration done successfully, when i try to make
call it gives the followning error " 11:51:28.685  pjsua_media.c  Error
retrieving default audio device parameters: Unable to find default audio
device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch
that Samuel added from http://code.google.com/p/siphon/downloads/list.

Is this patch meant to be used in 1.4 and above only?
Any pointer is appreciated.

any update regarding the error. The same is happen in 1.5 also, I suppose

something basic thing is missing. And one more thing.. is it require to
enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE,  I enable it as

#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE  1 in config_site.h but none

works and gives the same error.

---==
Shayne O'Neill Development
Mobile, Web and Business process integration.
shayne.oneill@gmail.com 0400247091


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Maya Zalcberg
www.zemingo.com
972523328356

Hi. I also used Samuel's patch "patch-audioqueue-dev" for 1.5 series (I would like to thank Samuel for that!) and got the same error: "Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) ". Elangbam, did you solve it? Regards, Maya On Thu, Mar 11, 2010 at 5:25 AM, Shayne O'Neill <shayne.oneill@gmail.com>wrote: > There should be a patch somewhere on this list that fixes legacy support. > Not really sure why it wasn't integrated in, but its around. > > It *probably* should work on the 1.5 series but I know it definately works > on the 1.4 series. > > On 10/03/2010, at 10:02 PM, Angel Of Retributioin wrote: > > > > > > > On 9 March 2010 13:28, Angel Of Retributioin <elangbamjohnson@gmail.com> > wrote: > > > > Hi , > > I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries > are all created and the registration done successfully, when i try to make > call it gives the followning error " 11:51:28.685 pjsua_media.c Error > retrieving default audio device parameters: Unable to find default audio > device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch > that Samuel added from http://code.google.com/p/siphon/downloads/list. > > Is this patch meant to be used in 1.4 and above only? > > Any pointer is appreciated. > > > > > > > > > > any update regarding the error. The same is happen in 1.5 also, I suppose > something basic thing is missing. And one more thing.. is it require to > enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE, I enable it as > > #define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 1 in config_site.h but none > works and gives the same error. > > > > Regards, > > Elangbam Johnson > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > =================================== > Shayne O'Neill Development > Mobile, Web and Business process integration. > shayne.oneill@gmail.com 0400247091 > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Maya Zalcberg www.zemingo.com 972523328356
AO
Angel Of Retributioin
Thu, Mar 11, 2010 8:16 AM

Hi
Still struggling with it, I am sure that I am using the correct
iphonesound-20091226.c file (which is the latest one) and put in the correct
path. And I am using this patch (patch-audio_dev).
Is there anything wrong in my compile script.

#!/bin/sh

iPhone version

if [ "$1" ]; then
export VER=$1
else
export VER=2.2.1
fi

export DEV=/Developer/Platforms/iPhoneOS.platform/Developer
export SDK=${DEV}/SDKs/iPhoneOS${VER}.sdk
export GCCVER=4.0

autoconf aconfigure.ac > aconfigure
chmod +x aconfigure
mkdir -p pjsip-apps/bin/samples

pushd ${DEV}/usr/bin
ln -sf gcc-${GCCVER} arm-apple-darwin9-gcc
ln -sf g++-${GCCVER} arm-apple-darwin9-g++
ln -sf ranlib arm-apple-darwin9-ranlib
popd

export PATH=${DEV}/usr/bin:${PATH}

export CC=arm-apple-darwin9-gcc
export CXX=arm-apple-darwin9-g++

export CFLAGS="-O2 -arch armv6
-I${SDK}/usr/include
-I${SDK}/usr/lib/gcc/arm-apple-darwin9/${GCCVER}.1/include
-I${DEV}/usr/lib/gcc/arm-apple-darwin9/${GCCVER}/include
-I/usr/include -F${SDK}/System/Library/Frameworks"

export LDFLAGS="-O2 -arch armv6
-L${SDK}/usr/lib
-F${SDK}/System/Library/Frameworks"

export CPP="${DEV}/usr/bin/cpp"

./aconfigure --host=arm-apple-darwin9 --disable-speex-aec
--disable-speex-codec --disable-l16-codec --disable-ilbc-codec --disable-ssl
--enable-ext-sound

If I remove the parameter --enable-ext-sound, then it gives the error
#error PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
during make dep.

Will it be related to this parameter.

Regards,
Elangbam Johnson

On 11 March 2010 13:19, Maya Zalcberg maya@zemingo.com wrote:

Hi.
I also used Samuel's patch "patch-audioqueue-dev" for 1.5 series (I would
like to thank Samuel for that!) and got the same error: "Unable to find
default audio device (PJMEDIA_EAUD_NODEFDEV) ".

Elangbam, did you solve it?

Regards,
Maya

On Thu, Mar 11, 2010 at 5:25 AM, Shayne O'Neill shayne.oneill@gmail.comwrote:

There should be a patch somewhere on this list that fixes legacy support.
Not really sure why it wasn't integrated in, but its around.

It probably should work on the 1.5 series but I know it definately works
on the 1.4 series.

On 10/03/2010, at 10:02 PM, Angel Of Retributioin wrote:

On 9 March 2010 13:28, Angel Of Retributioin elangbamjohnson@gmail.com

wrote:

Hi ,
I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries

are all created and the registration done successfully, when i try to make
call it gives the followning error " 11:51:28.685  pjsua_media.c  Error
retrieving default audio device parameters: Unable to find default audio
device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch
that Samuel added from http://code.google.com/p/siphon/downloads/list.

Is this patch meant to be used in 1.4 and above only?
Any pointer is appreciated.

any update regarding the error. The same is happen in 1.5 also, I

suppose something basic thing is missing. And one more thing.. is it require
to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE,  I enable it as

#define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE  1 in config_site.h but

none works and gives the same error.

---==
Shayne O'Neill Development
Mobile, Web and Business process integration.
shayne.oneill@gmail.com 0400247091


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Still struggling with it, I am sure that I am using the correct iphonesound-20091226.c file (which is the latest one) and put in the correct path. And I am using this patch (patch-audio_dev). Is there anything wrong in my compile script. #!/bin/sh # iPhone version if [ "$1" ]; then export VER=$1 else export VER=2.2.1 fi export DEV=/Developer/Platforms/iPhoneOS.platform/Developer export SDK=${DEV}/SDKs/iPhoneOS${VER}.sdk export GCCVER=4.0 autoconf aconfigure.ac > aconfigure chmod +x aconfigure mkdir -p pjsip-apps/bin/samples pushd ${DEV}/usr/bin ln -sf gcc-${GCCVER} arm-apple-darwin9-gcc ln -sf g++-${GCCVER} arm-apple-darwin9-g++ ln -sf ranlib arm-apple-darwin9-ranlib popd export PATH=${DEV}/usr/bin:${PATH} export CC=arm-apple-darwin9-gcc export CXX=arm-apple-darwin9-g++ export CFLAGS="-O2 -arch armv6 \ -I${SDK}/usr/include -I${SDK}/usr/lib/gcc/arm-apple-darwin9/${GCCVER}.1/include\ -I${DEV}/usr/lib/gcc/arm-apple-darwin9/${GCCVER}/include\ -I/usr/include -F${SDK}/System/Library/Frameworks" export LDFLAGS="-O2 -arch armv6 \ -L${SDK}/usr/lib \ -F${SDK}/System/Library/Frameworks" export CPP="${DEV}/usr/bin/cpp" ./aconfigure --host=arm-apple-darwin9 --disable-speex-aec --disable-speex-codec --disable-l16-codec --disable-ilbc-codec --disable-ssl --enable-ext-sound If I remove the parameter --enable-ext-sound, then it gives the error #error PJMEDIA_SOUND_IMPLEMENTATION has been deprecated during make dep. Will it be related to this parameter. Regards, Elangbam Johnson On 11 March 2010 13:19, Maya Zalcberg <maya@zemingo.com> wrote: > Hi. > I also used Samuel's patch "patch-audioqueue-dev" for 1.5 series (I would > like to thank Samuel for that!) and got the same error: "Unable to find > default audio device (PJMEDIA_EAUD_NODEFDEV) ". > > Elangbam, did you solve it? > > Regards, > Maya > > > > > On Thu, Mar 11, 2010 at 5:25 AM, Shayne O'Neill <shayne.oneill@gmail.com>wrote: > >> There should be a patch somewhere on this list that fixes legacy support. >> Not really sure why it wasn't integrated in, but its around. >> >> It *probably* should work on the 1.5 series but I know it definately works >> on the 1.4 series. >> >> On 10/03/2010, at 10:02 PM, Angel Of Retributioin wrote: >> >> > >> > >> > On 9 March 2010 13:28, Angel Of Retributioin <elangbamjohnson@gmail.com> >> wrote: >> > >> > Hi , >> > I am compiling pjsip 1.3 for iPhone sdk 2.2.1, the libraries >> are all created and the registration done successfully, when i try to make >> call it gives the followning error " 11:51:28.685 pjsua_media.c Error >> retrieving default audio device parameters: Unable to find default audio >> device (PJMEDIA_EAUD_NODEFDEV) [status=420006]" I have applied the patch >> that Samuel added from http://code.google.com/p/siphon/downloads/list. >> > Is this patch meant to be used in 1.4 and above only? >> > Any pointer is appreciated. >> > >> > >> > >> > >> > any update regarding the error. The same is happen in 1.5 also, I >> suppose something basic thing is missing. And one more thing.. is it require >> to enable the PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE, I enable it as >> > #define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 1 in config_site.h but >> none works and gives the same error. >> > >> > Regards, >> > Elangbam Johnson >> > _______________________________________________ >> > Visit our blog: http://blog.pjsip.org >> > >> > pjsip mailing list >> > pjsip@lists.pjsip.org >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> =================================== >> Shayne O'Neill Development >> Mobile, Web and Business process integration. >> shayne.oneill@gmail.com 0400247091 >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > > > -- > Maya Zalcberg > www.zemingo.com > 972523328356 > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
MZ
Maya Zalcberg
Thu, Mar 11, 2010 2:24 PM

Hi Samuel,
Can you please help us here by telling us what might cause this error:
"Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) ".

Regards,
Maya

Hi Samuel, Can you please help us here by telling us what might cause this error: "Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) ". Regards, Maya
SV
Samuel Vinson
Thu, Mar 11, 2010 10:50 PM

Hello,

Could you post what did you do step by step ?

Samuel

Le 11/03/10 15:24, Maya Zalcberg a écrit :

Hi Samuel,
Can you please help us here by telling us what might cause this error:
"Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) ".

Regards,
Maya


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello, Could you post what did you do step by step ? Samuel Le 11/03/10 15:24, Maya Zalcberg a écrit : > Hi Samuel, > Can you please help us here by telling us what might cause this error: > "Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) ". > > > Regards, > Maya > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
MZ
Maya Zalcberg
Thu, Mar 11, 2010 11:19 PM

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

Regards,
Maya

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@072.012.net<sip%3A0722511898@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@072.012.net <sip%3A0722511898@072.012.net> ;user=phone) Regards, Maya
SV
Samuel Vinson
Thu, Mar 11, 2010 11:48 PM

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

Regards,
Maya


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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@072.012.net > <mailto:sip%3A0722511898@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@072.012.net > <mailto:sip%3A0722511898@072.012.net>;user=phone) > > > Regards, > Maya > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >