We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
没有公共 iOS API 允许您录制应用程序或设备可以发出的所有内部声音。只能录制某些类型的内部声音,例如应用程序使用音频队列或 RemoteIO 音频单元产生的声音。
对于录制外部声音,Apple 的 SpeakHere 示例代码可能比较合适。
The is no public iOS API that will allow you to record all internal sound that an app or the device can make. Only certain types of internal sound can be recorded, for instance sounds produced by an app using Audio Queues or the RemoteIO Audio Unit.
For recording external sound, Apple's SpeakHere sample code might be appropriate.
ReplayKit 框架记录屏幕视频以及来自应用和麦克风的音频。但是 ReplayKit 与 AVPlayer 内容不兼容。它适用于 iOS 9.0 及更高版本。
ReplayKit framework records screen video and audio from the app and microphone. However ReplayKit is incompatible with AVPlayer content. It's available in iOS 9.0 and higher.