DescriptionBugFix: video capturer always uses the default 30 fps and didn't process maxFrameRate correctly when it is in RTCMediaConstraints.
BUG=4668
Frame rate configuration on iOS doesn't be activated because the codes in function startCaptureInBackgroundWithOutput of rtc_video_capture_ios_objc.mm do not pass in the prorated frame rate into video capturer's configuration. Video capturer always run on the default value of the selected videoSupportedFrameRateRanges, such as 30 fps on iphone 5s. For example, if there is a maxFrameRate config with value 15 fps in the RTCMediaConstraints, the function will find the correct supported frame rate of the device, according to the maxFrameRate value. Rather than the prorated frame rate passed into activeVideoMaxFrameDuration, the default maxFrameDuration will be used wrongly.
Patch Set 1 #
Messages
Total messages: 1 (1 generated)
|