简体   繁体   English

iOS:在后台应用中访问设备麦克风

[英]iOS: access device microphone in background app

Im wondering, is there a way for an app to access the Microphone of an iDevice while running in the background (The device may or may not be locked)? 我想知道,是否有一种方法可以让应用在后台运行时访问iDevice的麦克风(该设备可能被锁定,也可能未被锁定)?

I need to listen to the audio input and do some sound recognition. 我需要听音频输入并进行声音识别。

Cheers from Mexico 来自墨西哥的欢呼声

According to Apple's developer page , you can use the "audio" permission, which gives this access: 根据Apple的开发人员页面 ,您可以使用“音频”权限,该权限具有以下访问权限:

The app plays audible content to the user or records audio while in the background. 该应用程序在后台播放用户可听的内容或录制音频。 (This content includes streaming audio or video content using AirPlay.) (此内容包括使用AirPlay流音频或视频内容。)

我认为这是不可能的。

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

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