|
Video Capture: Allow suspension of individual devices.
Adds infrastructure to notify started video capture devices when there
are no consumers present, so that they may turn down to an "idle," low
resource utilization state. There are legitimate use cases where
MediaStream sessions are purposely left open without any sinks attached
for significant periods of time, and then attached when the application
is ready to consume the video.
This is a prerequisite to a soon-upcoming change that will allow screen
capture devices, which are very resource intensive, to suspend.
BUG= 650113
Committed: https://crrev.com/1c98a2e10b2505761d1f88880e3c8267951d30e2
Cr-Commit-Position: refs/heads/master@{#421705}
Total comments: 13
Total comments: 32
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+639 lines, -161 lines) |
Patch |
|
M |
content/browser/renderer_host/media/video_capture_host.cc
|
View
|
1
2
3
|
2 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_manager.cc
|
View
|
1
2
3
|
2 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_manager_unittest.cc
|
View
|
1
|
11 chunks |
+123 lines, -18 lines |
0 comments
|
Download
|
|
M |
content/common/media/video_capture.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_video_capturer_source.h
|
View
|
1
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_video_capturer_source.cc
|
View
|
1
|
6 chunks |
+46 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_video_source.h
|
View
|
1
2
3
|
3 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_video_source.cc
|
View
|
1
|
1 chunk |
+18 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_video_track.cc
|
View
|
1
2
3
|
2 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl_manager.h
|
View
|
1
2
3
|
5 chunks |
+19 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl_manager.cc
|
View
|
1
2
3
|
6 chunks |
+129 lines, -48 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl_manager_unittest.cc
|
View
|
|
5 chunks |
+182 lines, -37 lines |
0 comments
|
Download
|
|
M |
media/base/video_capturer_source.h
|
View
|
1
2
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/capture/video/video_capture_device.h
|
View
|
1
2
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 34 (15 generated)
|