flashphoner / wcs-ios-sdk-samples

7 stars 5 forks source link

default fps #8

Open bikee1235 opened 2 years ago

bikee1235 commented 2 years ago

what is default fps for ScreenCapturerSwift how we can change the fps

flashphoner commented 2 years ago

Good day. By default, fps 30 should be used. Try to set frame rate here:

options.constraints = FPWCSApi2MediaConstraints(audio: true, videoCapturer: capturer, video.minFrameRate: 15, video.maxFrameRate: 15);

Please see constraints setup example in Media Devices Swift