pjsip Digest, Vol 76, Issue 42

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's probably because the latest sip code since 4590 dropped support for managing the audio for you.




I'm contemplating of building a little framework to bridge the gap and support Bluetooth and other devices.

?
Sent from Mailbox for iPhone

On Wed, Dec 4, 2013 at 6:07 PM, null <pjsip-request at lists.pjsip.org>
wrote:

> Send pjsip mailing list submissions to
> 	pjsip at lists.pjsip.org
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> or, via email, send a message with subject or body 'help' to
> 	pjsip-request at lists.pjsip.org
> You can reach the person managing the list at
> 	pjsip-owner at lists.pjsip.org
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pjsip digest..."
> Today's Topics:
>    1. Re: Issue with changeset 4590 - Unable to open sound device
>       on iphone 5 ios 7 (GM) (qiulang)
> ----------------------------------------------------------------------
> Message: 1
> Date: Thu, 05 Dec 2013 00:05:04 +0800
> From: qiulang <qiulang@xxxxxxxxxxxxxxx>
> To: pjsip list <pjsip at lists.pjsip.org>
> Subject: Re: Issue with changeset 4590 - Unable to open sound
> 	device on iphone 5 ios 7 (GM)
> Message-ID: <529F52B0.5080007 at sinicnet.com.cn>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131205/0c5f15f9/attachment.html>
> ------------------------------
> Subject: Digest Footer
> _______________________________________________
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> ------------------------------
> End of pjsip Digest, Vol 76, Issue 42
> *************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131204/2aef4c33/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux