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

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

Issue 136903003: cast: Wire upp logging to be sent over RTCP between receiver and sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge TOT Created 6 years, 11 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 | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/receiver.cc
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc
index 0a833861d3a32f31567af194f48e376e9f9a85a1..21d2509dfddf9c92b1566b15e7e59956d52b0002 100644
--- a/media/cast/test/receiver.cc
+++ b/media/cast/test/receiver.cc
@@ -166,7 +166,7 @@ class ReceiveProcess : public base::RefCountedThreadSafe<ReceiveProcess> {
render_.RenderFrame(video_frame);
#endif // OS_LINUX
// Print out the delta between frames.
- if (!last_render_time_.is_null()){
+ if (!last_render_time_.is_null()) {
base::TimeDelta time_diff = render_time - last_render_time_;
VLOG(0) << " RenderDelay[mS] = " << time_diff.InMilliseconds();
}
@@ -180,7 +180,7 @@ class ReceiveProcess : public base::RefCountedThreadSafe<ReceiveProcess> {
// Default diff time is kFrameTimerMs.
base::TimeDelta time_diff =
base::TimeDelta::FromMilliseconds(kFrameTimerMs);
- if (!last_playout_time_.is_null()){
+ if (!last_playout_time_.is_null()) {
time_diff = playout_time - last_playout_time_;
VLOG(0) << " ***PlayoutDelay[mS] = " << time_diff.InMilliseconds();
}
@@ -225,14 +225,15 @@ int main(int argc, char** argv) {
base::DefaultTickClock clock;
// Enable receiver side threads, and disable logging.
scoped_refptr<media::cast::CastEnvironment> cast_environment(new
- media::cast::CastEnvironment(&clock,
- main_message_loop.message_loop_proxy(),
- NULL,
- audio_thread.message_loop_proxy(),
- NULL,
- video_thread.message_loop_proxy(),
- main_message_loop.message_loop_proxy(),
- media::cast::GetDefaultCastLoggingConfig()));
+ media::cast::CastEnvironment(
+ &clock,
+ main_message_loop.message_loop_proxy(),
+ NULL,
+ audio_thread.message_loop_proxy(),
+ NULL,
+ video_thread.message_loop_proxy(),
+ main_message_loop.message_loop_proxy(),
+ media::cast::GetDefaultCastReceiverLoggingConfig()));
media::cast::AudioReceiverConfig audio_config =
media::cast::GetAudioReceiverConfig();
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698