Chromium Code Reviews| 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..c2caded8203f0ba6b91ced5ad538884268804437 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; } |
|
whywhat
2016/02/02 22:19:54
what about bitsPerSecond() mentioned in the GitHub
mcasas
2016/02/03 02:49:59
As peter@ says, the idea here is to show the calcu
|
| 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 = 0; |
| + int32_t m_videoBitsPerSecond = 0; |
|
Peter Beverloo
2016/02/02 22:43:51
It seems to me that we should either initialize al
mcasas
2016/02/03 02:49:59
Done.
|
| State m_state; |