我有cams这是AVCaptureDevice,我确定闪光灯已关闭,但是现在我需要关闭相机的杂音,有什么方法可以做到这一点?

NSArray* cams = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo];
    AVCaptureDevice* device = nil;
    if(isBackCamera)
    {
        device = [possibleCameras objectAtIndex:0];
    }
    else
    {
        device = [possibleCameras objectAtIndex:1];
    }

    device.flashMode = AVCaptureFlashModeOff;

最佳答案

我发现苹果不允许您这样做

关于iphone - 如何静音AVCaptureDevice?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/13333227/

10-10 14:27