Index: chrome/renderer/media/cast_session_delegate.cc |
diff --git a/chrome/renderer/media/cast_session_delegate.cc b/chrome/renderer/media/cast_session_delegate.cc |
index faab4f974b33317423bb82a956d3eb0901467aaf..70ac26112987133f7ea03a303bab1f723dc3c4d6 100644 |
--- a/chrome/renderer/media/cast_session_delegate.cc |
+++ b/chrome/renderer/media/cast_session_delegate.cc |
@@ -66,7 +66,7 @@ void CastSessionDelegate::Initialize() { |
// CastSender uses the renderer's IO thread as the main thread. This reduces |
// thread hopping for incoming video frames and outgoing network packets. |
// There's no need to decode so no thread assigned for decoding. |
- // Get default logging: All disabled. |
+ // Logging: enable raw events and stats collection. |
cast_environment_ = new CastEnvironment( |
scoped_ptr<base::TickClock>(new base::DefaultTickClock()).Pass(), |
base::MessageLoopProxy::current(), |
@@ -75,7 +75,7 @@ void CastSessionDelegate::Initialize() { |
g_cast_threads.Get().GetVideoEncodeMessageLoopProxy(), |
NULL, |
base::MessageLoopProxy::current(), |
- media::cast::GetDefaultCastSenderLoggingConfig()); |
+ media::cast::GetLoggingConfigWithRawEventsAndStatsEnabled()); |
} |
void CastSessionDelegate::StartAudio( |