DescriptionHandle 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=
Committed: https://crrev.com/a1cf366ea9ad5e47240c2a9ba7041c293fc6e84d
Cr-Commit-Position: refs/heads/master@{#11992}
Patch Set 1 #Patch Set 2 : Check back camera in new Objective-C API #
Total comments: 10
Patch Set 3 : Changes based on feedback #
Messages
Total messages: 15 (5 generated)
|