Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl

Issue 1507183002: MediaRecorder: update to spec (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl
new file mode 100644
index 0000000000000000000000000000000000000000..98ad1ecb5847e2a4560d7976ef3a8f473400b335
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl
@@ -0,0 +1,15 @@
+// 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
Peter Beverloo 2015/12/10 20:28:53 append #MediaRecorderOptions, even though the patc
mcasas 2015/12/10 21:40:40 Just made it! http://w3c.github.io/mediacapture-re
+
+[
+ GarbageCollected,
Peter Beverloo 2015/12/10 20:28:53 [GC] doesn't do anything for dictionaries, they're
mcasas 2015/12/10 21:40:40 Done.
+] dictionary MediaRecorderOptions {
+ // TODO(mcasas): remove "mime" prefixes, https://github.com/w3c/mediacapture-record/issues/10
+ DOMString mimeType = ""; // Default encoding mimeType.
+ unsigned long audioBitsPerSecond;
Peter Beverloo 2015/12/10 20:28:53 I think it would be best if we don't mention these
mcasas 2015/12/10 21:40:40 Done.
+ unsigned long videoBitsPerSecond;
+ unsigned long bitsPerSecond;
+};

Powered by Google App Engine
This is Rietveld 408576698