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

Side by Side Diff: media/remoting/remote_renderer_impl.h

Issue 2648423004: Revert of Media Remoting: Don't exit remoting if no enough data buffered. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ 5 #ifndef MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_
6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ 6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // Records the number of consecutive times that remoting playback was delayed. 224 // Records the number of consecutive times that remoting playback was delayed.
225 int times_playback_delayed_ = 0; 225 int times_playback_delayed_ = 0;
226 226
227 // Records events and measurements of interest. 227 // Records events and measurements of interest.
228 remoting::RendererMetricsRecorder metrics_recorder_; 228 remoting::RendererMetricsRecorder metrics_recorder_;
229 229
230 // A timer that polls the RemoteDemuxerStreamAdapters periodically to measure 230 // A timer that polls the RemoteDemuxerStreamAdapters periodically to measure
231 // the data flow rates for metrics. 231 // the data flow rates for metrics.
232 base::RepeatingTimer data_flow_poll_timer_; 232 base::RepeatingTimer data_flow_poll_timer_;
233 233
234 // Indicates whether there is enough data buffered for rendering.
235 bool is_waiting_for_buffering_ = true;
236
237 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_; 234 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_;
238 235
239 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl); 236 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl);
240 }; 237 };
241 238
242 } // namespace media 239 } // namespace media
243 240
244 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ 241 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698