我有cams
哪个是 AVCaptureDevice,我确定闪光灯已关闭,但现在我需要关闭相机噪音,有没有办法做到这一点?
NSArray* cams = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo];
AVCaptureDevice* device = nil;
if(isBackCamera)
{
device = [possibleCameras objectAtIndex:0];
}
else
{
device = [possibleCameras objectAtIndex:1];
}
device.flashMode = AVCaptureFlashModeOff;