commit | 61b0ed039dcd937d92d49a666c504a0eb2b475c6 | [log] [tgz] |
---|---|---|
author | jtteh <jtteh@webrtc.org> | Tue Jul 25 16:35:55 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 25 16:35:55 2017 |
tree | 96f951f4c69718c0ddb96a943a9de3fcbbbd11a9 | |
parent | 96b69bdbee32062c199c31859f833f2761b89567 [diff] |
[iOS] Fix incorrectly oriented frames when rapidly switching between cameras. During a call, with both phones in horizontal or landscape mode, rapidly switching between the front and back camera sometimes causes the remote video to be shown upside down. There seems to be a race condition when setting the rotation based on the orientation of the device and which camera we're using. So use the active input's camera to check instead of the client state. BUG=webrtc:7898 Review-Url: https://codereview.webrtc.org/2964703002 Cr-Commit-Position: refs/heads/master@{#19139}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.