File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -404,11 +404,11 @@ -(void)getDisplayMedia:(NSDictionary *)constraints
404
404
RTCVideoSource *videoSource = [self .peerConnectionFactory videoSource ];
405
405
FlutterRPScreenRecorder *screenCapturer = [[FlutterRPScreenRecorder alloc ] initWithDelegate: videoSource];
406
406
407
- [videoSource adaptOutputFormatToWidth: (NSUInteger )[UIScreen mainScreen ].bounds.size.width height: (NSUInteger )[UIScreen mainScreen ].bounds.size.height fps: 30 ];
407
+ [videoSource adaptOutputFormatToWidth: (NSUInteger )[UIScreen mainScreen ].bounds.size.width height: (NSUInteger )[UIScreen mainScreen ].bounds.size.height fps: self ._targetFps ];
408
408
409
409
[screenCapturer startCapture ];
410
410
411
- // TODO: Unified interface
411
+ // TODO:
412
412
self.videoCapturer = screenCapturer;
413
413
414
414
NSString *trackUUID = [[NSUUID UUID ] UUIDString ];
You can’t perform that action at this time.
0 commit comments