summaryrefslogtreecommitdiff
path: root/chromium/media/capture/video/chromeos/mojom/camera_app.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/capture/video/chromeos/mojom/camera_app.mojom')
-rw-r--r--chromium/media/capture/video/chromeos/mojom/camera_app.mojom10
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/media/capture/video/chromeos/mojom/camera_app.mojom b/chromium/media/capture/video/chromeos/mojom/camera_app.mojom
index 7bc0da4e710..59df9f820bd 100644
--- a/chromium/media/capture/video/chromeos/mojom/camera_app.mojom
+++ b/chromium/media/capture/video/chromeos/mojom/camera_app.mojom
@@ -53,6 +53,11 @@ interface CameraAppDeviceProvider {
// and camera app. Currently only devices running camera HAL v3 support this
// feature.
IsSupported() => (bool is_supported);
+
+ // Add/Remove a virtual device for recording stream according to |enabled|.
+ // The virtual device has the same config as |device_id| except facing
+ // attribute.
+ SetMultipleStreamsEnabled(string device_id, bool enabled) => (bool success);
};
// Inner interface that used to communicate between browser process (Remote) and
@@ -68,6 +73,11 @@ interface CameraAppDeviceBridge {
// and camera app. Currently only devices running camera HAL v3 support this
// feature.
IsSupported() => (bool is_supported);
+
+ // Add/Remove a virtual device for recording stream according to |enabled|.
+ // The virtual device has the same config as |device_id| except facing
+ // attribute.
+ SetMultipleStreamsEnabled(string device_id, bool enabled) => (bool success);
};
// Interface for communication between Chrome Camera App (Remote) and camera