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

Unified Diff: content/renderer/media/video_capture_impl.h

Issue 2721113002: getUserMedia: handle the device starting status report. (Closed)
Patch Set: address comments on PS#3 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/video_capture_impl.h
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h
index 55e8b536d559be4fcecca924c434f8b2c37181f1..bb0bfe8c88315d3996d19a8f5956cf46d3ae0ebe 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -151,6 +151,11 @@ class CONTENT_EXPORT VideoCaptureImpl : public mojom::VideoCaptureObserver {
base::ThreadChecker io_thread_checker_;
+ // Flag set to True when captured frames are dropped due to arriving earlier
+ // than OnStarted event. Then a frame refresh request will be sent out later
+ // when OnStarted arrives, for a new frame to start the video call with.
+ bool should_request_refresh_frame_on_started_;
+
// WeakPtrFactory pointing back to |this| object, for use with
// media::VideoFrames constructed in OnBufferReceived() from buffers cached
// in |client_buffers_|.

Powered by Google App Engine
This is Rietveld 408576698