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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user