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

Unified Diff: media/cast/test/receiver.cc

Issue 162103002: Cast: Added a EncodingEventSubscriber to cast sender app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encoding-event-subscriber
Patch Set: minor fixes Created 6 years, 10 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
Index: media/cast/test/receiver.cc
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc
index fb8604cca5e672282b60435e93fe53438aa84e44..42bfa076652a0012486f9e411fa003eb405df8f7 100644
--- a/media/cast/test/receiver.cc
+++ b/media/cast/test/receiver.cc
@@ -233,8 +233,11 @@ int main(int argc, char** argv) {
scoped_ptr<base::TickClock> clock(new base::DefaultTickClock());
- // Enable receiver side threads, and disable logging.
- // Running transport on main thread.
+ // Enable main and receiver side threads only. Enable raw event logging.
+ // Running transport on the main thread.
+ media::cast::CastLoggingConfig logging_config;
+ logging_config.enable_raw_data_collection = true;
+
scoped_refptr<media::cast::CastEnvironment> cast_environment(
new media::cast::CastEnvironment(
clock.Pass(),
@@ -244,7 +247,7 @@ int main(int argc, char** argv) {
NULL,
video_thread.message_loop_proxy(),
main_message_loop.message_loop_proxy(),
- media::cast::GetDefaultCastReceiverLoggingConfig()));
+ logging_config));
media::cast::AudioReceiverConfig audio_config =
media::cast::GetAudioReceiverConfig();
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/test/sender.cc » ('j') | media/cast/test/sender.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698