commit | a1cf366ea9ad5e47240c2a9ba7041c293fc6e84d | [log] [tgz] |
---|---|---|
author | hjon <hjon@andyet.net> | Tue Mar 15 03:55:22 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 15 03:55:25 2016 |
tree | 204d46921192b7937477be705e749e4f711d4037 | |
parent | e5d5e51a8203298bcdf272d38ff7baab102779ed [diff] |
Handle iOS devices with no rear-facing camera Devices exist (specifically the 16GB 5th generation iPod Touch) that do not have a rear-facing camera. This CL: - Adjusts RTCAVFoundationVideoCapturerInternal so initialization doesn't fail because a rear-facing camera doesn't exist, but still logs a warning - Provides a check for whether or not a rear-facing camera can be used (useful for toggling UI elements) - Turns an attempt to switch to the rear-facing camera into a no-op with a warning. BUG= Review URL: https://codereview.webrtc.org/1416303003 Cr-Commit-Position: refs/heads/master@{#11992}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.