Hi,
I'm having a problem getting any audio at all using PJSUA2.
I downloaded PJSIP 2.5.5 and did the standard build on my Mac.
It builds fine.
I ran pjsip-apps/bin/pjsua and register to my SIP provider and made a
call. It worked fine.
I modified pjsip-apps/src/samples/pjsua2_demo to call mainProg1 and did
a build.
Then, I ran pjsip-apps/bin/samples/pjsua2_demo.
It registers and makes a call to test @ pjsip.org, but, there is no audio.
I modified pjsip-apps/src/samples/pjsua2_demo to use the same
credentials as the working ../bin/pjsua
It registers and makes a call as well, but, there is no audio.
So, the end result is that pjsua works fine and I can't get any audio
with pjsua2.
Any help would be appreciated.
-- Scott.
Hi,
Has anyone gotten pjsua2 in pjsip 2.5.5 to work with audio?
I've still had no luck. I did noticed the following when comparing the
logs between the working pjsua and non-working pjsua2_demo.
When running pjsua
21:40:30.010 pjsua_aud.c .Set sound device: capture=-1, playback=-2
21:40:30.010 pjsua_app.c ..Turning sound device ON <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
21:40:30.010 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@16000/1/20ms
21:40:30.014 coreaudio_dev. ...Opening device 72
21:40:30.018 ec0x7f837b52ff ...Creating AEC
21:40:30.018 ec0x7f837b52ff ...AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=0 ms
21:40:30.018 coreaudio_dev. ...core audio stream started
When running pjsua2_demo
21:38:24.210 pjsua_aud.c .Set sound device: capture=-1, playback=-2
21:38:24.212 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@16000/1/20ms
21:38:24.218 coreaudio_dev. ...Opening device 72
21:38:24.222 ec0x7fb87c8193 ...Creating AEC
21:38:24.223 ec0x7fb87c8193 ...AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=0 ms
21:38:24.223 coreaudio_dev. ...core audio stream started
2
Notice that I never get the message "Turning sound device ON" using pjsua2_demo.
How does one turn on the sound device & should I have to do it or is it a bug?
Does anyone have a working example of using pjsua2 cpp classes or java classes?
-- Scott.
On 9/28/16 3:28 PM, Scott M Ober wrote:
Hi,
I'm having a problem getting any audio at all using PJSUA2.
I downloaded PJSIP 2.5.5 and did the standard build on my Mac.
It builds fine.
I ran pjsip-apps/bin/pjsua and register to my SIP provider and made a
call. It worked fine.
I modified pjsip-apps/src/samples/pjsua2_demo to call mainProg1 and
did a build.
Then, I ran pjsip-apps/bin/samples/pjsua2_demo.
It registers and makes a call to test @ pjsip.org, but, there is no
audio.
I modified pjsip-apps/src/samples/pjsua2_demo to use the same
credentials as the working ../bin/pjsua
It registers and makes a call as well, but, there is no audio.
So, the end result is that pjsua works fine and I can't get any audio
with pjsua2.
Any help would be appreciated.
-- Scott.
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org