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

Unified Diff: chrome/renderer/media/cast_session_delegate.cc

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing errors Created 7 years, 1 month 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: 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 8f0fc07b8e374f28e81da598a21a015bbaaffe02..dd67d00aabe12717db26548db5526ec7f1aec02f 100644
--- a/chrome/renderer/media/cast_session_delegate.cc
+++ b/chrome/renderer/media/cast_session_delegate.cc
@@ -39,13 +39,17 @@ void CastSessionDelegate::PrepareForSending() {
// 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.
+ // Disabling cast logging of all types.
cast_environment_ = new CastEnvironment(
&clock_,
base::MessageLoopProxy::current(),
audio_encode_thread_.message_loop_proxy(),
NULL,
video_encode_thread_.message_loop_proxy(),
- NULL);
+ NULL,
+ false,
+ false,
+ false);
// TODO(hclam): A couple things need to be done here:
// 1. Pass audio and video configuration to CastSender.
« no previous file with comments | « no previous file | media/cast/audio_receiver/audio_receiver.cc » ('j') | media/cast/rtp_sender/rtp_packetizer/rtp_packetizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698