fix(ios): only mute recording if mute property is set to false (#1932)

Closes #1864
This commit is contained in:
Laurin Quast 2018-11-19 21:39:19 +01:00 committed by GitHub
parent 32ad40c300
commit 776725ea2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -522,7 +522,7 @@ static NSDictionary *defaultFaceDetectorOptions = nil;
}
}
[self updateSessionAudioIsMuted:!!options[@"mute"]];
[self updateSessionAudioIsMuted:[options[@"mute"] boolValue]];
AVCaptureConnection *connection = [self.movieFileOutput connectionWithMediaType:AVMediaTypeVideo];
if (self.videoStabilizationMode != 0) {