From 5a2c2b3c35dfddf7f1ba2b23a1f75d19086c8dea Mon Sep 17 00:00:00 2001 From: sakal Date: Wed, 9 Aug 2017 04:10:59 -0700 Subject: [PATCH] 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} --- .../Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m | 1 - 1 file changed, 1 deletion(-) diff --git a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m index bb1c035834..6e3dbb5b00 100644 --- a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m +++ b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m @@ -408,7 +408,6 @@ static inline BOOL IsMediaSubTypeSupported(FourCharCode mediaSubType) { @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;