We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db11f9 commit 6d0d534Copy full SHA for 6d0d534
sdk/objc/components/capturer/RTCCameraVideoCapturer.m
@@ -495,7 +495,9 @@ - (void)updateDeviceCaptureFormat:(AVCaptureDeviceFormat *)format fps:(NSInteger
495
@"updateDeviceCaptureFormat must be called on the capture queue.");
496
@try {
497
_currentDevice.activeFormat = format;
498
- _currentDevice.activeVideoMinFrameDuration = CMTimeMake(1, fps);
+ if(![NSStringFromClass([_currentDevice class]) isEqualToString:@"AVCaptureDALDevice"]) {
499
+ _currentDevice.activeVideoMinFrameDuration = CMTimeMake(1, fps);
500
+ }
501
} @catch (NSException *exception) {
502
RTCLogError(@"Failed to set active format!\n User info:%@", exception.userInfo);
503
return;
0 commit comments