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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h

Issue 1652373004: MediaRecorder: add and wire read {video,audio}BitsPerSecond props (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reviewers@ comments 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/MediaRecorder.h
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h
index 104aad18c0e35c6f81a45e5aa52660cd94a20d65..ea93bd309b706867cff2f834f71a4c3dd184839c 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h
@@ -45,6 +45,8 @@ public:
String state() const;
bool ignoreMutedMedia() const { return m_ignoreMutedMedia; }
void setIgnoreMutedMedia(bool ignoreMutedMedia) { m_ignoreMutedMedia = ignoreMutedMedia; }
+ unsigned long videoBitsPerSecond() const { return m_videoBitsPerSecond; }
+ unsigned long audioBitsPerSecond() const { return m_audioBitsPerSecond; }
DEFINE_ATTRIBUTE_EVENT_LISTENER(start);
DEFINE_ATTRIBUTE_EVENT_LISTENER(stop);
@@ -92,6 +94,8 @@ private:
String m_mimeType;
bool m_stopped;
bool m_ignoreMutedMedia;
+ int32_t m_audioBitsPerSecond;
philipj_slow 2016/02/03 03:31:05 Why int32_t here and in WebMediaRecorderHandler? P
mcasas 2016/02/03 23:50:27 Replaced throughout.
+ int32_t m_videoBitsPerSecond;
State m_state;

Powered by Google App Engine
This is Rietveld 408576698