AVAudioRecorder和AirPlay Mirrioring [英] AVAudioRecorder and AirPlay Mirrioring
问题描述
当我有一个AVAudioRecorder会话活动 - (当我录制音频),我不能激活AirPlay镜像在设备上。 Airplay镜像仅在应用程序运行时停用,并在应用程序退出时重新打开。这则讯息似乎暗示没有办法解决这个问题。
我的想法是尝试:
- 使用低级录音框架 li>
p>有另一种方法,或者你知道这些方法是否已知工作?
使用AudioQueue记录(像Apple的示例代码在此对讲)而不是AVRecorder工作。多一些工作要实现,但记录继续或关闭Airplay镜像。
When I have an AVAudioRecorder Session active - (when I'm recording audio) I can't activate AirPlay mirroring on the device. Airplay mirroring just deactivates while the app is running and switches it back on when the app exits. This post seems to suggest there is no way around this.
My thoughts are to try:
- using a lower level recording framework
or outputting a separate window to external display, rather than mirroring(I've tried this, it doesn't work).
Is there another way around this, or do you know whether either of these methods are known to work?
Using AudioQueue to record (like Apple's Sample Code Speak Here) rather than the AVRecorder works. A bit more work to implement, but recording continues on or off Airplay mirroring.
这篇关于AVAudioRecorder和AirPlay Mirrioring的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!