Hi Samuel,
Once again, thank you so much for your gr8 work!
I fixed the the issues with the audio-dev, and now my audio device can be
found.
I don't get that error anymore, but a new problem came out... the app now
crashes when trying to make a call, or to receive one: "Assertion failed: (b
&& frame), function pjmedia_delay_buf_get, file ../src/pjmedia/delaybuf.c,
line 317."
This is the log from an incoming call:
04:18:14.677 pjsua_media.c Opening sound device PCM@16000/1/20ms
04:18:14.725 ec0x243640 Echo suppressor created, clock_rate=16000,
channel=1, samples per frame=320, tail length=200 ms, latency=2 ms
04:18:15.031 conference.c Port 2 (ring) transmitting to port 0 (IPHONE)
04:18:15.038 pjsua_client.c Incoming call for account 2!
From: "a 1" <sip:0722511898@072.012.net sip%3A0722511898@072.012.net
;user=phone>
To: "a 1" <sip:722511874@072.012.net sip%3A722511874@072.012.net>
Assertion failed: (b && frame), function pjmedia_delay_buf_get, file
../src/pjmedia/delaybuf.c, line 317.
Do you know what might be the problem?
Regards,
Maya
Hi Maya,
How did you manage to find the default sound device. Any
changes you've made?
Regards
Elangbam Johnson
On 12 March 2010 07:59, Maya Zalcberg maya@zemingo.com wrote:
Hi Samuel,
Once again, thank you so much for your gr8 work!
I fixed the the issues with the audio-dev, and now my audio device can be
found.
I don't get that error anymore, but a new problem came out... the app now
crashes when trying to make a call, or to receive one: "Assertion failed: (b
&& frame), function pjmedia_delay_buf_get, file ../src/pjmedia/delaybuf.c,
line 317."
This is the log from an incoming call:
04:18:14.677 pjsua_media.c Opening sound device PCM@16000/1/20ms
04:18:14.725 ec0x243640 Echo suppressor created, clock_rate=16000,
channel=1, samples per frame=320, tail length=200 ms, latency=2 ms
04:18:15.031 conference.c Port 2 (ring) transmitting to port 0 (IPHONE)
04:18:15.038 pjsua_client.c Incoming call for account 2!
From: "a 1" <sip:0722511898@072.012.net sip%3A0722511898@072.012.net
;user=phone>
To: "a 1" <sip:722511874@072.012.net sip%3A722511874@072.012.net>
Assertion failed: (b && frame), function pjmedia_delay_buf_get, file
../src/pjmedia/delaybuf.c, line 317.
Do you know what might be the problem?
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
--
Elangbam Johnson
Hi Elangbam,
Because of the addition of the file iphone_dev.c, please make sure you also
added the following lines that refer to it:
audiodev.c:
#if PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
pjmedia_aud_dev_factory* pjmedia_iphone_factory(pj_pool_factory *pf);
#endif
audiodev.c:
#if PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_iphone_factory;
#endif
os-auto.mak.in:
ifeq ($(AC_PJMEDIA_SND),iphone)
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
4)config.h:
#ifndef PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
#endif
Hope it helps.
Regards,
Maya.
Maya, did you use both the patch "patch-audio_dev" and
"patch-audioqueue-dev"
Regards,
Elangbam Johnson
On 12 March 2010 12:35, Maya Zalcberg maya@zemingo.com wrote:
Hi Elangbam,
Because of the addition of the file iphone_dev.c, please make sure you also
added the following lines that refer to it:
audiodev.c:
#if PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
pjmedia_aud_dev_factory* pjmedia_iphone_factory(pj_pool_factory *pf);
#endif
audiodev.c:
#if PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_iphone_factory;
#endif
os-auto.mak.in:
ifeq ($(AC_PJMEDIA_SND),iphone)
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
4)config.h:
#ifndef PJMEDIA_AUDIO_DEV_HAS_AUDIOQUEUE
#endif
Hope it helps.
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
--
Elangbam Johnson
Hi Elangbam,
I believe that when you compiled your previous version, you had to do all
the changes that described in the patch "patch-audio_dev" in order for your
project to work.
So i suggest you to go over that patch, just to make sure you didn't miss
anything. these changes that appear there are necessary.
Regards,
Maya
Hi Elangbam,
Is it working for you now?
Regards,
Maya
Not yet Maya, really confused where is the problem, I am using both the
patch that is available in the link
http://code.google.com/p/siphon/downloads/list.
Are you also using both the patch" patch-audioqueue-dev-20100312.txt
http://siphon.googlecode.com/files/patch-audioqueue-dev-20100312.txt
http://code.google.com/p/siphon/downloads/detail?name=patch-audioqueue-dev-20100312.txt&can=2&q=
and
http://siphon.googlecode.com/files/iphonesound-20091226.c
patch-audio_dev.txt
http://siphon.googlecode.com/files/patch-audio_dev.txt
http://siphon.googlecode.com/files/iphonesound-20091226.c
Regards,
Elangbam Johnson
On 13 March 2010 16:44, Maya Zalcberg maya@zemingo.com wrote:
Hi Elangbam,
Is it working for you now?
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
--
Elangbam Johnson
yes
On Sat, Mar 13, 2010 at 1:23 PM, Angel Of Retributioin <
elangbamjohnson@gmail.com> wrote:
Not yet Maya, really confused where is the problem, I am using both the
patch that is available in the link
http://code.google.com/p/siphon/downloads/list.
Are you also using both the patch" patch-audioqueue-dev-20100312.txt
http://siphon.googlecode.com/files/patch-audioqueue-dev-20100312.txt
http://code.google.com/p/siphon/downloads/detail?name=patch-audioqueue-dev-20100312.txt&can=2&q=
and
http://siphon.googlecode.com/files/iphonesound-20091226.c
patch-audio_dev.txt
http://siphon.googlecode.com/files/patch-audio_dev.txt
http://siphon.googlecode.com/files/iphonesound-20091226.c
Regards,
Elangbam Johnson
On 13 March 2010 16:44, Maya Zalcberg maya@zemingo.com wrote:
Hi Elangbam,
Is it working for you now?
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
--
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
--
Maya Zalcberg
www.zemingo.com
972.52.332.8356
HI Maya and Samuel,
I have applied the latest patch that is upload by Samuel for
pjsip 1.4 and above .
Did you made any change in "pjmedia/build/Makefile" to include
iphonesound.o inside "export PJMEDIA_OBJS ".
I didn't find my iphonesound.o in the output of
pjmedia-arm-apple-darwin9(ie.
pjmedia/build/output/pjmedia-arm-apple-darwin9).
I exactly follow the instructions that is given by Samuel in
http://code.google.com/p/siphon/wiki/CompilationForiPhoneOS2_X
Did you made any changes apart from the instruction and the patch.
Regards,
Elangbam Johnson
On 13 March 2010 18:01, Maya Zalcberg maya@zemingo.com wrote:
yes
On Sat, Mar 13, 2010 at 1:23 PM, Angel Of Retributioin <
elangbamjohnson@gmail.com> wrote:
Not yet Maya, really confused where is the problem, I am using both the
patch that is available in the link
http://code.google.com/p/siphon/downloads/list.
Are you also using both the patch" patch-audioqueue-dev-20100312.txt
http://siphon.googlecode.com/files/patch-audioqueue-dev-20100312.txt
http://code.google.com/p/siphon/downloads/detail?name=patch-audioqueue-dev-20100312.txt&can=2&q=
and
http://siphon.googlecode.com/files/iphonesound-20091226.c
patch-audio_dev.txt
http://siphon.googlecode.com/files/patch-audio_dev.txt
http://siphon.googlecode.com/files/iphonesound-20091226.c
Regards,
Elangbam Johnson
On 13 March 2010 16:44, Maya Zalcberg maya@zemingo.com wrote:
Hi Elangbam,
Is it working for you now?
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
--
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
--
Maya Zalcberg
www.zemingo.com
972.52.332.8356
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,
The last patch don't use iphonesound.o but iphone_dev.o
If you read the patch you will find information on line 21 and 27 ;-)
Now the file should be in libpjmedia-audiodev and not in lipjmedia.
Regards
Samuel
Le 17/03/10 14:16, Angel Of Retributioin a écrit :
HI Maya and Samuel,
I have applied the latest patch that is upload by
Samuel for pjsip 1.4 and above .
Did you made any change in "pjmedia/build/Makefile" to include
iphonesound.o inside "export PJMEDIA_OBJS ".
I didn't find my iphonesound.o in the output of
pjmedia-arm-apple-darwin9(ie.
pjmedia/build/output/pjmedia-arm-apple-darwin9).
I exactly follow the instructions that is given by Samuel in
http://code.google.com/p/siphon/wiki/CompilationForiPhoneOS2_X
Did you made any changes apart from the instruction and the patch.
Regards,
Elangbam Johnson
On 13 March 2010 18:01, Maya Zalcberg <maya@zemingo.com
mailto:maya@zemingo.com> wrote:
yes
On Sat, Mar 13, 2010 at 1:23 PM, Angel Of Retributioin
<elangbamjohnson@gmail.com <mailto:elangbamjohnson@gmail.com>> wrote:
Not yet Maya, really confused where is the problem, I am using
both the patch that is available in the link
http://code.google.com/p/siphon/downloads/list.
Are you also using both the patch"
patch-audioqueue-dev-20100312.txt
<http://siphon.googlecode.com/files/patch-audioqueue-dev-20100312.txt>
<http://code.google.com/p/siphon/downloads/detail?name=patch-audioqueue-dev-20100312.txt&can=2&q=>
and
<http://siphon.googlecode.com/files/iphonesound-20091226.c>
patch-audio_dev.txt
<http://siphon.googlecode.com/files/patch-audio_dev.txt>
<http://siphon.googlecode.com/files/iphonesound-20091226.c>
Regards,
Elangbam Johnson
On 13 March 2010 16:44, Maya Zalcberg <maya@zemingo.com
<mailto:maya@zemingo.com>> wrote:
Hi Elangbam,
Is it working for you now?
Regards,
Maya
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Elangbam Johnson
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Maya Zalcberg
www.zemingo.com <http://www.zemingo.com>
972.52.332.8356
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org