I have a view where a video record, then I have a section AVAudioPlayer, the problem is that when the sound, you stop registazione Video.
testAudioPlayer = [[AVAudioPlayer alloc] initWithData:sampleData error:&audioError];
[sampleData release];
if(audioError != nil) {
NSLog(@"An audio error occurred: \"%@\"", audioError);
}
else {
[testAudioPlayer setVolume:100];
[testAudioPlayer setNumberOfLoops: -1];
[testAudioPlayer play];``
thanks in advance