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}
This commit is contained in:
sakal
2017-08-09 04:10:59 -07:00
committed by Commit Bot
parent 26b4804358
commit 5a2c2b3c35

View File

@ -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;