Remove maximum frametime to allow the camera to adjust based on the lighting conditions. BUG=webrtc:7777 Review-Url: https://codereview.webrtc.org/2998683002 Cr-Commit-Position: refs/heads/master@{#19281}
diff --git a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m index bb1c035..6e3dbb5 100644 --- a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m +++ b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m
@@ -408,7 +408,6 @@ @try { _currentDevice.activeFormat = format; _currentDevice.activeVideoMinFrameDuration = CMTimeMake(1, fps); - _currentDevice.activeVideoMaxFrameDuration = CMTimeMake(1, fps); } @catch (NSException *exception) { RTCLogError(@"Failed to set active format!\n User info:%@", exception.userInfo); return;