• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

ios10 iphone5s voip siphon pjsip2.5.5 打开声音设备时出错

[复制链接]
菜鸟教程小白 发表于 2022-12-13 14:27:49 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题

谁能告诉我为什么会这样?

iOS10、iPhone5s、VOIP Siphon pjsip2.5.5.

这些问题不是每次都出现,有时在你想调用或接听电话时会出现(添加:20161226)。

打开声音设备时出错:

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 [status=506637]

14:06:03.734512    pjsua_aud.c  ....Error opening sound device: Unknown OpenSSL error 503317117 [status=506637]

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 [status=506637]

14:06:04.144165    pjsua_aud.c  ....Error opening sound device: Unknown OpenSSL error 503317117 [status=506637]

14:06:04.144186 pjsua_conf_connect:pjsua_conf_connect_value 506637 ret 506637

今天(2016-12-16),我得到同样的错误,但错误编号不同(iphone5 ios10.1.1 siphone pjsip2.5.5)

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 [status=-1701297535]

316-981188544 2016-12-16 10:52:29.195105 pjsua_aud.c  ....Error opening sound device: Unknown error -1701297535 [status=-1701297535]



Best Answer-推荐答案


步骤1:首先在Supporting Files文件夹中打开您的xcode项目中的info.plist文件,然后点击信息属性列表中的“+”>。

第 2 步:选择并在列表中添加 隐私 - 麦克风使用说明

第 3 步:在 Privacy - Microphone Usage Description 中添加值 Microphone

现在编译并运行您的项目。

关于ios10 iphone5s voip siphon pjsip2.5.5 打开声音设备时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40989940/

回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子830918

发布主题
阅读排行 更多
广告位

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap