开发者

Playing song through MPMusicPlayerController and using AVCaptureSession at the same time

开发者 https://www.devze.com 2023-03-20 01:17 出处:网络
I have a problem where I have setup an AVCaptureSession with an audio and video inp开发者_运维问答ut and a capture preview layer. All works great until I try to play a song using MPMusicPlayerControll

I have a problem where I have setup an AVCaptureSession with an audio and video inp开发者_运维问答ut and a capture preview layer. All works great until I try to play a song using MPMusicPlayerController, this instantly makes the preview layer freeze and it is then unable to record the capture session.

Any idea of what I am trying to achieve is actually possible?

Thanks


Well you can use the variable of stlib.h and assign it to a non-variable deallocated nil object of a layer of a cgpoint * cgpoint, after that what you can do is assign the layer of that to a alocated object with value 3 and then finally assign it to an else of the MPMusicPlayerController/AVCaptureSession

0

精彩评论

暂无评论...
验证码 换一张
取 消