Index: modules/mediarecorder/MediaRecorderOptions.idl |
diff --git a/modules/mediarecorder/MediaRecorderOptions.idl b/modules/mediarecorder/MediaRecorderOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..40da2b078c865a5027dca3c069e736e437da055e |
--- /dev/null |
+++ b/modules/mediarecorder/MediaRecorderOptions.idl |
@@ -0,0 +1,14 @@ |
+// 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-record/MediaRecorder.html#MediaRecorderOptions |
+ |
+dictionary MediaRecorderOptions { |
+ DOMString mimeType; // Encoding mimeType. |
+ |
+ // TODO(mcasas): Consider changing the following options to signed: https://github.com/w3c/mediacapture-record/issues/48, and/or using [EnforceRange]/[Clamp]. |
+ unsigned long audioBitsPerSecond; |
+ unsigned long videoBitsPerSecond; |
+ unsigned long bitsPerSecond; |
+}; |