I am working on a karaoke application. He should record a video with the sound of the user singing the song. Text and melody are provided by the application.
Everything was fine with video recording until I added an audio input to AVCaptureSession. The problem is with AVAudioPlayer, which plays the tune - it just stops when starting AVCaptureSession. I did not find any restrictions on this in Apple docs.
Has anyone had experience recording audio in AVCaptureSession while playing audio through AVAudioPlayer?
source
share