Index: modules/mediastream/MediaStreamConstraints.idl |
diff --git a/modules/mediastream/MediaStreamConstraints.idl b/modules/mediastream/MediaStreamConstraints.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b5a8fee409e04df279a89ce2fa51379f143c32d6 |
--- /dev/null |
+++ b/modules/mediastream/MediaStreamConstraints.idl |
@@ -0,0 +1,10 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaStreamConstraints |
+ |
+dictionary MediaStreamConstraints { |
+ (boolean or MediaTrackConstraintSet) video; |
+ (boolean or MediaTrackConstraintSet) audio; |
+}; |