[pjsip] Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
Angel Of Retributioin
elangbamjohnson at gmail.com
Thu Mar 11 02:16:40 CST 2010
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 at 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 at 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 at 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 at 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 at gmail.com 0400247091
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Maya Zalcberg
> www.zemingo.com
> 972523328356
>
> _______________________________________________
> 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/20100311/80e4a632/attachment-0001.html>
More information about the pjsip
mailing list