PJSIP iOS audio call issue : Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

KP
KANNAN PRASAD
Tue, Oct 18, 2016 1:15 PM

Hi All,

I was using PJSIP library in my app and was working fine for voice calls.
Recently I have updated the library to support SSL. I could see that after
using the nre library files voice calls
are not happening. Below given is the logs for the same.

Anyone faced the same issue ? Do we need to specify some parameter while
taking a new build.

2016-10-18 17:39:06.981 Messenger[399:60085] Appication in Inactive state
or active state
17:39:06.983      XCPjsua.c  ..Call 1 state=INCOMING
2016-10-18 17:39:07.196 Messenger[399:60085] audioSession active
17:39:09.010  pjsua_call.c !Answering call 1: code=200
17:39:09.010  pjsua_media.c  ...Call 1: updating media..
17:39:09.011    pjsua_aud.c  ....Audio channel update..
17:39:09.011 strm0x16a58214  .....VAD temporarily disabled
17:39:09.011 strm0x16a58214  .....Encoder stream started
17:39:09.011 strm0x16a58214  .....Decoder stream started
17:39:09.012  pjsua_media.c  ....Audio updated, stream #0: speex (sendrecv)
17:39:09.012    pjsua_aud.c  ...Conf connect: 1 --> 0
17:39:09.012    pjsua_aud.c  ....Set sound device: capture=-1, playback=-2
17:39:09.012    pjsua_aud.c  .....Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]

17:39:09.012    pjsua_aud.c  ....Error opening sound device: Unable to
find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

2016-10-18 17:39:09.012 Messenger[399:60085] pjsua_conf_connect void
on_call_media_state(pjsua_call_id) - 316
status = 420006
17:39:09.013    pjsua_aud.c  ...Conf connect: 0 --> 1
17:39:09.019    pjsua_aud.c  ....Set sound device: capture=-1, playback=-2
17:39:09.019    pjsua_aud.c  .....Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
17:39:09.019    pjsua_aud.c  ....Error opening sound device: Unable to find
default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
2016-10-18 17:39:09.020 Messenger[399:60085] pjsua_conf_connect void
on_call_media_state(pjsua_call_id) - 321
status = 420006

Thanks & Regards

Kannan Prasad

Hi All, I was using PJSIP library in my app and was working fine for voice calls. Recently I have updated the library to support SSL. I could see that after using the nre library files voice calls are not happening. Below given is the logs for the same. Anyone faced the same issue ? Do we need to specify some parameter while taking a new build. 2016-10-18 17:39:06.981 Messenger[399:60085] Appication in Inactive state or active state 17:39:06.983 XCPjsua.c ..Call 1 state=INCOMING 2016-10-18 17:39:07.196 Messenger[399:60085] audioSession active 17:39:09.010 pjsua_call.c !Answering call 1: code=200 17:39:09.010 pjsua_media.c ...Call 1: updating media.. 17:39:09.011 pjsua_aud.c ....Audio channel update.. 17:39:09.011 strm0x16a58214 .....VAD temporarily disabled 17:39:09.011 strm0x16a58214 .....Encoder stream started 17:39:09.011 strm0x16a58214 .....Decoder stream started 17:39:09.012 pjsua_media.c ....Audio updated, stream #0: speex (sendrecv) 17:39:09.012 pjsua_aud.c ...Conf connect: 1 --> 0 17:39:09.012 pjsua_aud.c ....Set sound device: capture=-1, playback=-2 17:39:09.012 pjsua_aud.c ....*.Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]* 17:39:09.012 pjsua_aud.c ....*Error opening sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]* 2016-10-18 17:39:09.012 Messenger[399:60085] pjsua_conf_connect void on_call_media_state(pjsua_call_id) - 316 status = 420006 17:39:09.013 pjsua_aud.c ...Conf connect: 0 --> 1 17:39:09.019 pjsua_aud.c ....Set sound device: capture=-1, playback=-2 17:39:09.019 pjsua_aud.c .....Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] 17:39:09.019 pjsua_aud.c ....Error opening sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] 2016-10-18 17:39:09.020 Messenger[399:60085] pjsua_conf_connect void on_call_media_state(pjsua_call_id) - 321 status = 420006 *Thanks & Regards* *Kannan Prasad*
KP
KANNAN PRASAD
Wed, Oct 19, 2016 11:59 AM

Anybody having any kind of info on this ? I am stuck on this issue.
Can't find much info on this issue.

Thanks & Regards

Kannan Prasad

On Tue, Oct 18, 2016 at 6:45 PM, KANNAN PRASAD kannanprasad87@gmail.com
wrote:

Hi All,

I was using PJSIP library in my app and was working fine for voice calls.
Recently I have updated the library to support SSL. I could see that after
using the nre library files voice calls
are not happening. Below given is the logs for the same.

Anyone faced the same issue ? Do we need to specify some parameter while
taking a new build.

2016-10-18 17:39:06.981 Messenger[399:60085] Appication in Inactive state
or active state
17:39:06.983      XCPjsua.c  ..Call 1 state=INCOMING
2016-10-18 17:39:07.196 Messenger[399:60085] audioSession active
17:39:09.010  pjsua_call.c !Answering call 1: code=200
17:39:09.010  pjsua_media.c  ...Call 1: updating media..
17:39:09.011    pjsua_aud.c  ....Audio channel update..
17:39:09.011 strm0x16a58214  .....VAD temporarily disabled
17:39:09.011 strm0x16a58214  .....Encoder stream started
17:39:09.011 strm0x16a58214  .....Decoder stream started
17:39:09.012  pjsua_media.c  ....Audio updated, stream #0: speex (sendrecv)
17:39:09.012    pjsua_aud.c  ...Conf connect: 1 --> 0
17:39:09.012    pjsua_aud.c  ....Set sound device: capture=-1, playback=-2
17:39:09.012    pjsua_aud.c  .....Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]

17:39:09.012    pjsua_aud.c  ....Error opening sound device: Unable to
find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

2016-10-18 17:39:09.012 Messenger[399:60085] pjsua_conf_connect void
on_call_media_state(pjsua_call_id) - 316
status = 420006
17:39:09.013    pjsua_aud.c  ...Conf connect: 0 --> 1
17:39:09.019    pjsua_aud.c  ....Set sound device: capture=-1, playback=-2
17:39:09.019    pjsua_aud.c  .....Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
17:39:09.019    pjsua_aud.c  ....Error opening sound device: Unable to
find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
2016-10-18 17:39:09.020 Messenger[399:60085] pjsua_conf_connect void
on_call_media_state(pjsua_call_id) - 321
status = 420006

Thanks & Regards

Kannan Prasad

Anybody having any kind of info on this ? I am stuck on this issue. Can't find much info on this issue. *Thanks & Regards* *Kannan Prasad* On Tue, Oct 18, 2016 at 6:45 PM, KANNAN PRASAD <kannanprasad87@gmail.com> wrote: > Hi All, > > I was using PJSIP library in my app and was working fine for voice calls. > Recently I have updated the library to support SSL. I could see that after > using the nre library files voice calls > are not happening. Below given is the logs for the same. > > Anyone faced the same issue ? Do we need to specify some parameter while > taking a new build. > > 2016-10-18 17:39:06.981 Messenger[399:60085] Appication in Inactive state > or active state > 17:39:06.983 XCPjsua.c ..Call 1 state=INCOMING > 2016-10-18 17:39:07.196 Messenger[399:60085] audioSession active > 17:39:09.010 pjsua_call.c !Answering call 1: code=200 > 17:39:09.010 pjsua_media.c ...Call 1: updating media.. > 17:39:09.011 pjsua_aud.c ....Audio channel update.. > 17:39:09.011 strm0x16a58214 .....VAD temporarily disabled > 17:39:09.011 strm0x16a58214 .....Encoder stream started > 17:39:09.011 strm0x16a58214 .....Decoder stream started > 17:39:09.012 pjsua_media.c ....Audio updated, stream #0: speex (sendrecv) > 17:39:09.012 pjsua_aud.c ...Conf connect: 1 --> 0 > 17:39:09.012 pjsua_aud.c ....Set sound device: capture=-1, playback=-2 > 17:39:09.012 pjsua_aud.c ....*.Error retrieving default audio device > parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) > [status=420006]* > 17:39:09.012 pjsua_aud.c ....*Error opening sound device: Unable to > find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]* > 2016-10-18 17:39:09.012 Messenger[399:60085] pjsua_conf_connect void > on_call_media_state(pjsua_call_id) - 316 > status = 420006 > 17:39:09.013 pjsua_aud.c ...Conf connect: 0 --> 1 > 17:39:09.019 pjsua_aud.c ....Set sound device: capture=-1, playback=-2 > 17:39:09.019 pjsua_aud.c .....Error retrieving default audio device > parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) > [status=420006] > 17:39:09.019 pjsua_aud.c ....Error opening sound device: Unable to > find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] > 2016-10-18 17:39:09.020 Messenger[399:60085] pjsua_conf_connect void > on_call_media_state(pjsua_call_id) - 321 > status = 420006 > > *Thanks & Regards* > > *Kannan Prasad* > > >