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

Unified Diff: remoting/protocol/webrtc_frame_scheduler_simple.h

Issue 2757923004: Fix failed capture handling in WebrtcVideoStream (Closed)
Patch Set: . Created 3 years, 9 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_frame_scheduler_simple.h
diff --git a/remoting/protocol/webrtc_frame_scheduler_simple.h b/remoting/protocol/webrtc_frame_scheduler_simple.h
index cd5f4dd5d2eb5823002c81a421a746a8f18abeaf..4e465021837a5e651c40b6df38e5e6f2a6301875 100644
--- a/remoting/protocol/webrtc_frame_scheduler_simple.h
+++ b/remoting/protocol/webrtc_frame_scheduler_simple.h
@@ -68,6 +68,11 @@ class WebrtcFrameSchedulerSimple : public VideoChannelStateObserver,
base::Closure capture_callback_;
bool paused_ = false;
+
+ // Set to false until the first frame frame was captured successfully.
+ bool captured_first_frame_ = false;
+
+ // Set to true when a key frame was requested.
bool key_frame_request_ = false;
base::TimeTicks last_capture_started_time_;

Powered by Google App Engine
This is Rietveld 408576698