English 中文(简体)
文章——能否同时记录网络流的音频和录像?
原标题:ios - Is it possible to record audio and play video from network stream at the same time?

I m 为Peter视频聊天项目开展研究。

I ve tried this to capture image,
use AVCaptureVideoPreviewLayer to display camera view
and put a MPMoviePlayerController to play network stream video at the back.

They all work until I add an audio input to the AVCaptureSession.
The MPMoviePlayerController stop the AVCaptureSession if there is audio input.

I think of using AVAudioSession for both playing and recording audio and some other way to play video, but the documentation of AVAudioPlayer said

“Apple建议,除非你从网络流中听到的声音,或要求非常低的I/O latency,否则你就利用这一类别进行录音。

我发现<>《多媒体方案拟订指南>说:

“提供最低声响,特别是在同时投入和产出时(如VoIP申请),使用I/O单位或“声音处理I/O”单位。

在电话上播放视频聊天是否正确?

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签