The red status bar for sound recording “blinks” when the application is in * foreground *

There are a lot of questions (, here ) regarding the status line of a dual audio recording of double height, but they all refer to flashes when the application resigns. I am getting flash, I am assuming installation AVCaptureSessionwhile the application is in the foreground.

Has anyone experienced this before?

+4
source share
1 answer

You must remove the audio input from AVCaptureSession

    [self.captureSession removeInput:audioIn];

in which audioInis an object AVCaptureDeviceInputinitialized in the init method.

: - . A, B, A. , , B, A . , - "" . , , .

+13

All Articles