首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >请求允许使用麦克风的Openears

请求允许使用麦克风的Openears
EN

Stack Overflow用户
提问于 2014-01-16 07:45:33
回答 1查看 1.1K关注 0票数 0

我制作了一个应用程序,它使用Openears框架来读取一些文本。但我没有使用任何Openears'语音识别/语音合成功能,只是语音通话功能。我的应用程序被苹果拒绝了,它告诉我,该应用程序要求使用麦克风的许可,而该应用程序没有任何这类功能。以下是苹果公司的拒绝信息:

代码语言:javascript
复制
During review we were prompted to provide consent to use the microphone, however, we were not able to find any features or functionality that use the microphone for audio recording.

The microphone consent request is generated by the use of either AVAudioSessionCategoryRecord or AVAudioSessionCategoryPlayAndRecord audio categories. 

If you do not intend to record audio with your application, it would be appropriate to choose the AVAudioSession session category that fits your application's needs or modify your app to include audio-recording features.

For more information, please refer to the Security section of the iOS SDK Release Notes for iOS 7 GM Seed.

我已经搜索了应用程序的AVAudioSessionCategoryRecordAVAudioSessionCategoryPlayAndRecord音频类别中提到的消息,但找不到任何。如何禁用使用麦克风的权限提示?

EN

回答 1

Stack Overflow用户

发布于 2014-01-16 09:04:08

很抱歉你的应用被拒绝了。若要仅在不使用与OpenEars中的语音识别相关的音频会话管理的情况下使用TTS,请将FliteController的属性noAudioSessionOverrides设置为TRUE。这将导致没有音频会话更改/不使用麦克风流。

我将看看是否可以使这个设置的文档对于只使用OpenEars‘FliteController进行TTS的开发人员来说更加突出。

为了完整起见,关于如何在使用OpenEars时大大减少应用程序二进制大小的文档,因为这对您来说也是一个问题:

http://www.politepix.com/forums/topic/slimming-down-your-app/ 分布

编辑:从今天的1.65版OpenEars及其插件开始,如果您只使用FliteController,就不会有被拒绝的危险,因为TTS类不再单独调用音频会话。谢谢大家对这件事的提醒,再次抱歉你因为这个而被拒绝了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21156046

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档