Index: media/capture/video/video_capture_device.h |
diff --git a/media/capture/video/video_capture_device.h b/media/capture/video/video_capture_device.h |
index cbdc8adde4c6e44dd2d764957a6873c267d02109..18cbc3be448e6699478894f3fc8fff0cb3022ac8 100644 |
--- a/media/capture/video/video_capture_device.h |
+++ b/media/capture/video/video_capture_device.h |
@@ -167,6 +167,14 @@ class CAPTURE_EXPORT VideoCaptureDevice { |
// reasonable attempts to honor these requests. |
virtual void RequestRefreshFrame() {} |
+ // Optionally suspends frame delivery. The video capturer may or may not honor |
chfremer
2016/09/27 00:54:59
nit: "video capturer" -> "VideoCaptureDevice" or "
miu
2016/09/27 23:42:23
Done.
|
+ // this request. The purpose of this is to allow minimizing resource usage |
+ // while there are no frame consumers present. |
chfremer
2016/09/27 00:54:59
nit: The names "Suspend" and "Resume" already some
miu
2016/09/27 23:42:23
Done.
|
+ virtual void MaybeSuspend() {} |
+ |
+ // Resumes frame delivery, if it was suspended. |
+ virtual void Resume() {} |
+ |
// Deallocates the video capturer, possibly asynchronously. |
// |
// This call requires the device to do the following things, eventually: put |