8000
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 5fac998 commit ad572b6Copy full SHA for ad572b6
ios/Classes/FlutterRTCMediaStream.m
@@ -291,6 +291,9 @@ - (void)getUserVideo:(NSDictionary *)constraints
291
292
if (videoDevice) {
293
RTCVideoSource *videoSource = [self.peerConnectionFactory videoSource];
294
+ if (self.videoCapturer) {
295
+ [self.videoCapturer stopCapture];
296
+ }
297
self.videoCapturer = [[RTCCameraVideoCapturer alloc] initWithDelegate:videoSource];
298
AVCaptureDeviceFormat *selectedFormat = [self selectFormatForDevice:videoDevice];
299
NSInteger selectedFps = [self selectFpsForFormat:selectedFormat];
0 commit comments