简体   繁体   English

通过蓝牙iOS路由音频

[英]Route audio through bluetooth ios

I need some help from you .... 我需要您的帮助。

I have an app for VoIP calling and i need to route audio of call through bluetooth even in background (in case someone press home button while call is in progress ).. Do i need to set anything in info.plist file in background modes ?? 我有一个用于VoIP通话的应用程序,并且即使在后台(如果有人在通话过程中按下主屏幕按钮的情况下),我也需要通过蓝牙路由通话的音频。.我需要在后台模式下设置info.plist文件中的任何内容吗? ?

在此处输入图片说明

This is what i have been set for background modes to use bluetooth and apple rejected app with given reason below : 这是我设置的背景模式,以便使用蓝牙和苹果拒绝的应用程序,原因如下:

2.16 Details 2.16详细信息

Your app declares support for bluetooth-central, and bluetooth-peripheral, in the UIBackgroundModes key in your Info.plist, but does not provide Bluetooth Low Energy functionality. 您的应用在Info.plist的UIBackgroundModes键中声明了对蓝牙中心和蓝牙外围设备的支持,但不提供低功耗蓝牙功能。 The Bluetooth Background modes are for applications that communicate to other devices using Bluetooth Low Energy and the Core Bluetooth framework. 蓝牙背景模式适用于使用低功耗蓝牙和核心蓝牙框架与其他设备通信的应用程序。

Next Steps 下一步

Please revise your app to add support for Bluetooth Low Energy communication through Core Bluetooth in your application or remove the bluetooth- values from the UIBackgroundModes key. 请修改您的应用程序,以在您的应用程序中添加对通过低功耗蓝牙的低功耗蓝牙通信的支持,或从UIBackgroundModes项中删除蓝牙值。

Please help me out .... Thanks in Advance !!! 请帮帮我....在此先谢谢!

这是因为您没有在应用程序中使用蓝牙核心功能。只需选中“背景模式”下的“音频和音频播放”和“ IP语音”复选框,然后重新提交应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM