webrtc-sdk / webrtc

BSD 3-Clause "New" or "Revised" License
242 stars 95 forks source link

Set RTCCameraVideoCapturer initial zoom factor #121

Closed hiroshihorie closed 5 months ago

hiroshihorie commented 5 months ago

Some devices, such as .builtInTripleCamera, have a zoom factor of 2.0 for the normal zoom. This adjustment changes it to 2.0 instead of 1.0. Without this adjustment, when using .builtInTripleCamera, it will appear zoomed out.