diff options
author | Aaron Alaniz <aalaniz@twilio.com> | 2020-01-09 04:26:04 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-09 16:04:09 +0000 |
commit | 415e39da565ab7ed5e89f2e7a9629801dea56248 (patch) | |
tree | e47a73bee0f7baf1a93e091be331cbc123ba426f /AUTHORS | |
parent | e1cbb9c20ee853a00bc1d4979f14e69f761c7eed (diff) | |
download | webrtc-415e39da565ab7ed5e89f2e7a9629801dea56248.tar.gz |
Update Android camera switch API to allow specifying a name
The current camera switch API sequentially cycles through each
camera name for each method invocation. This policy provides
reasonable behavior for devices with 2 or 3 cameras, but
presents challenges with devices that contain several cameras.
For example in a scenario where the current camera is oriented
on the same side as the next camera name, a developer would need to
call switchCamera multiple times to capture from a camera oriented on
a different side of the device.
This commit allows a developer to specify a camera name when switching
cameras. This flexibility allows developers to have more control over
which device they switch to in cases where a device contains several cameras.
Bug: webrtc:11261
Change-Id: I93d46d70b2c7cf735a411a4ef4f33e926bf3a5ea
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165040
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30199}
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -110,6 +110,7 @@ Telenor Digital AS <*@telenor.com> Temasys Communications <*@temasys.io> The Chromium Authors <*@chromium.org> The WebRTC Authors <*@webrtc.org> +Twilio, Inc. <*@twilio.com> Videxio AS <*@videxio.com> Vidyo, Inc. <*@vidyo.com> Vonage Holdings Corp. <*@vonage.com> |