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

Unified Diff: media/remoting/remote_renderer_impl.h

Issue 2638393005: Media Remoting: Exit remoting only if playback is continuously delayed. (Closed)
Patch Set: Created 3 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 | « no previous file | media/remoting/remote_renderer_impl.cc » ('j') | media/remoting/remote_renderer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/remote_renderer_impl.h
diff --git a/media/remoting/remote_renderer_impl.h b/media/remoting/remote_renderer_impl.h
index 9da1aa0ff9c4cb48fc068ec70dacd4bda4df43ba..2e3fc2e01fd583bf1ff476e90f6a6aebee58966a 100644
--- a/media/remoting/remote_renderer_impl.h
+++ b/media/remoting/remote_renderer_impl.h
@@ -221,6 +221,9 @@ class RemoteRendererImpl : public Renderer {
int sum_video_frames_decoded_ = 0;
int sum_video_frames_dropped_ = 0;
+ // Records the number that remoting playback is continuously delayed.
miu 2017/01/19 22:00:55 s/number that/number of consecutive times/
miu 2017/01/19 22:00:55 s/is/was/
xjz 2017/01/19 22:10:04 Done.
xjz 2017/01/19 22:10:04 Done.
+ int num_playback_delayed_ = 0;
miu 2017/01/19 22:00:55 How about |times_playback_delayed_|?
xjz 2017/01/19 22:10:04 Done.
+
// Records events and measurements of interest.
remoting::RendererMetricsRecorder metrics_recorder_;
« no previous file with comments | « no previous file | media/remoting/remote_renderer_impl.cc » ('j') | media/remoting/remote_renderer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698