IPhone Playing a sound clip when recording video using UIImagePickerController ... maybe?

I use openAL to play sounds. I have a view controller that allows users to upload videos. I want to give them a 1 minute warning sound so they know to wrap everything up. I tried using the call to SoundEngine_StartEffect(warningSound); but he just doesn't play anything. Is there any work with this?

+4
source share
1 answer

Have you tried to connect with others?

  UInt32 doSetProperty = 1; AudioSessionSetProperty(kAudioSessionProperty_OverrideCategoryMixWithOthers, sizeof(UInt32), &doSetProperty); 

In most cases, "must have" when trying to record and play at the same time.

0
source

Source: https://habr.com/ru/post/1338512/


All Articles