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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.cc

Issue 1864483002: Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 8 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
« no previous file with comments | « no previous file | media/audio/BUILD.gn » ('j') | media/audio/audio_logging.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/media_stream_manager.cc
diff --git a/content/browser/renderer_host/media/media_stream_manager.cc b/content/browser/renderer_host/media/media_stream_manager.cc
index d2e6068524c676be2f3938ff1d6f81cd71384ce0..57e693332668d7460375186ae09f7ad2a6ec5679 100644
--- a/content/browser/renderer_host/media/media_stream_manager.cc
+++ b/content/browser/renderer_host/media/media_stream_manager.cc
@@ -47,6 +47,7 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/media_stream_request.h"
#include "crypto/hmac.h"
+#include "media/audio/audio_logging.h"
#include "media/audio/audio_manager_base.h"
#include "media/audio/audio_parameters.h"
#include "media/base/channel_layout.h"
@@ -412,6 +413,8 @@ MediaStreamManager::MediaStreamManager(media::AudioManager* audio_manager)
// MediaStreamManager, but power_monitor may be NULL in unit tests.
if (power_monitor)
power_monitor->AddObserver(this);
+
+ media::InitWebRtcLoggingCallback(&MediaStreamManager::SendMessageToNativeLog);
o1ka 2016/04/05 15:28:42 I would do it the first thing in the constructor.
}
MediaStreamManager::~MediaStreamManager() {
« no previous file with comments | « no previous file | media/audio/BUILD.gn » ('j') | media/audio/audio_logging.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698