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

Unified Diff: remoting/protocol/webrtc_video_stream.h

Issue 2616213002: Fix WebrtcVideoStream to handle failed capture requests. (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
Index: remoting/protocol/webrtc_video_stream.h
diff --git a/remoting/protocol/webrtc_video_stream.h b/remoting/protocol/webrtc_video_stream.h
index 6d1d1c67250ee704937d3843fb9d888ec1e5cb4a..2e7043682409c1f611f7d1ed97ff8a026b87fd58 100644
--- a/remoting/protocol/webrtc_video_stream.h
+++ b/remoting/protocol/webrtc_video_stream.h
@@ -90,6 +90,11 @@ class WebrtcVideoStream : public VideoStream,
HostVideoStatsDispatcher video_stats_dispatcher_;
+ // In case when the capturer failed to capture a frame the corresponding event
+ // timestamps are saved in |next_frame_input_event_timestamps_| to be used for
+ // the following frame.
+ InputEventTimestamps next_frame_input_event_timestamps_;
+
// Timestamps for the frame that's being captured.
std::unique_ptr<FrameTimestamps> captured_frame_timestamps_;

Powered by Google App Engine
This is Rietveld 408576698