summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/media/cast_session_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/media/cast_session_delegate.cc')
-rw-r--r--chrome/renderer/media/cast_session_delegate.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/renderer/media/cast_session_delegate.cc b/chrome/renderer/media/cast_session_delegate.cc
index 3ddfb46..744033a 100644
--- a/chrome/renderer/media/cast_session_delegate.cc
+++ b/chrome/renderer/media/cast_session_delegate.cc
@@ -9,6 +9,7 @@
#include "content/public/renderer/render_thread.h"
#include "media/cast/cast_environment.h"
#include "media/cast/cast_sender.h"
+#include "media/cast/logging/logging_defines.h"
using media::cast::AudioSenderConfig;
using media::cast::CastEnvironment;
@@ -56,13 +57,15 @@ void CastSessionDelegate::StartSending() {
// 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.
cast_environment_ = new CastEnvironment(
&clock_,
base::MessageLoopProxy::current(),
audio_encode_thread_.message_loop_proxy(),
NULL,
video_encode_thread_.message_loop_proxy(),
- NULL);
+ NULL,
+ media::cast::GetDefaultCastLoggingConfig());
// TODO(hclam): A couple things need to be done here:
// 1. Connect media::cast::PacketSender to net::Socket interface.