Some further info about this problem, I found it was because AudioOutputUnitStart return error, but I have not found out why this call only failed for iPhone 5s Qiulang On 13-12-5 ??12:05, qiulang wrote: > Hi Ming, > > I found this error happened on iPhone 5s (only) again! > > I already used 2.2 codes (trunk 4641) and following are the error > messages I got. I can't make or receive any sip call on iPhone 5s > > 2013-12-04 23:57:27.779 ipjsua[6816:60b] 23:57:27.779 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:33.057 ipjsua[6816:60b] 23:57:33.057 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:38.336 ipjsua[6816:60b] 23:57:38.336 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:43.619 ipjsua[6816:60b] 23:57:43.618 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:48.899 ipjsua[6816:60b] 23:57:48.898 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:54.174 ipjsua[6816:60b] 23:57:54.174 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > ipjsua(showPJSIPLog) -> "Error" : 23:57:54.177 pjsua_aud.c ..Unable > to open sound device: Unknown error -2002889396 [status=-2002889396] > > And I found that the error was happened when calling > pjmedia_snd_port_create2. > > Any idea how to fix it ? > > Thanks > > Qiulang > > > On 13-9-19 ??1:38, Ming wrote: >> Hi Yosi, >> I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so >> have you managed to try with the release version? >> Please note that with the above changeset, PJSIP no longer calls >> Audio Session API, so application will need to do its own audio >> session management. >> If only for testing basic outgoing/incoming calls, the default audio >> session behavior (i.e. no application-level audio session management) >> seems to be sufficient. >> Reference: >> https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4 >> Regards, >> Ming >> >> >> On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri <yosi at taguri.com >> <mailto:yosi at taguri.com>> wrote: >> >> >> Hi, >> I tracked this issue down to r4590 >> (http://trac.pjsip.org/repos/changeset/4590) . >> For some reason the device can't open the sound and shows the >> following log, it happens only on the device (iphone 5 or ipad >> mini) running ios7 GM. >> It works fine on simulator. >> >> 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729 >> pjsua_aud.c .Set sound device: capture=-1, playback=-2 >> >> >> 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735 >> pjsua_aud.c ..Opening sound device PCM at 16000/1/20ms >> >> >> 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092 >> pjsua_aud.c ..Opening sound device PCM at 44100/1/20ms >> >> >> 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187 >> pjsua_aud.c ..Opening sound device PCM at 48000/1/20ms >> >> >> 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278 >> pjsua_aud.c ..Opening sound device PCM at 32000/1/20ms >> >> >> 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370 >> pjsua_aud.c ..Opening sound device PCM at 16000/1/20ms >> >> >> 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462 >> pjsua_aud.c ..Opening sound device PCM at 8000/1/20ms >> >> >> 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554 >> pjsua_aud.c ..Unable to open sound device: Unknown error >> -559594163 [status=-559594163] >> >> >> 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561 >> call.m Error making call: Unknown error -559594163 >> [status=-559594163] >> >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> >> _______________________________________________ >> 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 > > > > _______________________________________________ > 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/20131205/5b2403eb/attachment-0001.html>