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

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

Issue 1610473002: MediaRecorder: wire the bitRate settings in Blink and content (2nd go) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed. Added TODO for unsigned->signed change Created 4 years, 11 months 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
index c816d41276d9fd7585b208ee32c0a5a023d9c43a..1abbb45bfc1eedd43fbc890129c786e969bbe037 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderOptions.idl
@@ -7,5 +7,8 @@
dictionary MediaRecorderOptions {
DOMString mimeType; // Encoding mimeType.
- // TODO(mcasas): Include here the remaining spec |{audioBits,videoBits,bits}PerSecond| when adding support for them.
+ // 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 = 0;
+ unsigned long videoBitsPerSecond = 0;
+ unsigned long bitsPerSecond = 0;
};

Powered by Google App Engine
This is Rietveld 408576698