webrtc-sdk / webrtc

BSD 3-Clause "New" or "Revised" License
225 stars 89 forks source link

Fix initial camera rotation #115

Closed hiroshihorie closed 3 months ago

hiroshihorie commented 4 months ago

It's too late to resolve orientation after starting camera capture, the first couple of frames will have incorrect rotation information. This patch starts listening for orientation as soon as RTCCameraVideoCapturer is created.

hiroshihorie commented 3 months ago

Will close this for now.