ios10 iphone5s voip siphon pjsip2.5.5 打开声音设备时出错
<p><p>谁能告诉我为什么会这样?</p>
<p>iOS10、iPhone5s、VOIP Siphon pjsip2.5.5.</p>
<p>这些问题不是每次都出现,有时在你想调用或接听电话时会出现(添加:20161226)。</p>
<p>打开声音设备时出错:</p>
<pre><code>14:06:03.137742 pjsua_aud.c....Set sound device: capture=-1, playback=-2
14:06:03.137775 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@16000/1/20ms
14:06:03.137837 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.147404 acquire_call enter,call_id:2
14:06:03.233365 level:4,msg:14:06:03.233 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@44100/1/20ms
14:06:03.233488 level:4,msg:14:06:03.233 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.263379 AVAudioSessionRouteChangeNotification ..changeReason..3
14:06:03.439201 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@48000/1/20ms
14:06:03.444813 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.518592 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@32000/1/20ms
14:06:03.518731 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.587808 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@16000/1/20ms
14:06:03.587936 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.659660 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@8000/1/20ms
14:06:03.659837 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.734433 pjsua_aud.c.....Unable to open sound device: Unknown OpenSSL error 503317117
14:06:03.734512 pjsua_aud.c....Error opening sound device: Unknown OpenSSL error 503317117
14:06:03.734534 pjsua_aud.c...Conf connect: 0 --> 2
14:06:03.734555 pjsua_aud.c....Set sound device: capture=-1, playback=-2
14:06:03.734586 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@16000/1/20ms
14:06:03.734651 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.799718 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@44100/1/20ms
14:06:03.799847 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.868825 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@48000/1/20ms
14:06:03.869031 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:03.936294 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@32000/1/20ms
14:06:03.936423 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:04.006834 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@16000/1/20ms
14:06:04.006962 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:04.075150 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@8000/1/20ms
14:06:04.075288 coreaudio_dev.......Using VoiceProcessingIO audio unit
14:06:04.144082 pjsua_aud.c.....Unable to open sound device: Unknown OpenSSL error 503317117
14:06:04.144165 pjsua_aud.c....Error opening sound device: Unknown OpenSSL error 503317117
14:06:04.144186 pjsua_conf_connect:pjsua_conf_connect_value 506637 ret 506637
</code></pre>
<p>今天(2016-12-16),我得到同样的错误,但错误编号不同(iphone5 ios10.1.1 siphone pjsip2.5.5)</p>
<pre><code>316-981188544 2016-12-16 10:52:29.160553 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@44100/1/20ms
316-981188544 2016-12-16 10:52:29.160689 coreaudio_dev.......Using VoiceProcessingIO audio unit
316-981188544 2016-12-16 10:52:29.167254 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@48000/1/20ms
316-981188544 2016-12-16 10:52:29.167391 coreaudio_dev.......Using VoiceProcessingIO audio unit
316-981188544 2016-12-16 10:52:29.172857 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@32000/1/20ms
316-981188544 2016-12-16 10:52:29.172994 coreaudio_dev.......Using VoiceProcessingIO audio unit
316-981188544 2016-12-16 10:52:29.178400 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@16000/1/20ms
316-981188544 2016-12-16 10:52:29.178539 coreaudio_dev.......Using VoiceProcessingIO audio unit
316-981188544 2016-12-16 10:52:29.184486 pjsua_aud.c.....Opening sound device (speaker + mic) PCM@8000/1/20ms
316-981188544 2016-12-16 10:52:29.184631 coreaudio_dev.......Using VoiceProcessingIO audio unit
316-981188544 2016-12-16 10:52:29.195032 pjsua_aud.c.....Unable to open sound device: Unknown error -1701297535
316-981188544 2016-12-16 10:52:29.195105 pjsua_aud.c....Error opening sound device: Unknown error -1701297535
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>步骤1:首先在Supporting Files文件夹中打开您的xcode项目中的<strong>info.plist</strong>文件,然后点击<strong>信息属性列表中的<strong>“+”</strong></strong>>。 </p>
<p>第 2 步:选择并在列表中添加 <strong>隐私 - 麦克风使用说明</strong>。 </p>
<p>第 3 步:在 <strong>Privacy - Microphone Usage Description</strong> 中添加值 <strong>Microphone</strong>。</p>
<p>现在编译并运行您的项目。</p></p>
<p style="font-size: 20px;">关于ios10 iphone5s voip siphon pjsip2.5.5 打开声音设备时出错,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/40989940/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/40989940/
</a>
</p>
页:
[1]