|
|
Add video frame refresh to MediaStream and VideoCapture stacks.
This is a follow-up on previous CLs to allow consumers of video frames
in the render process to request "refresh frames" from capturers that
live in the browser process. This solves a number of long-standing
problems caused by capturers that halt video frame delivery (e.g., a
screen capturer stops sending frames because the screen is not being
updated). First, it will ensure that remote clients that join a session
receive a first video frame in a timely manner. Second, it will allow a
streaming implementation's bandwidth estimation logic to remain current
with external/environmental condiditons. Third, it allows lossy
encoders to clean up artifacts in static content.
This change also includes some necessary prerequisite clean-up of the
public MediaStreamVideoSink interface, which contained public static
methods being passed a "self" pointer (weird!). Instead, the methods
were turned into instance methods, and then made protected so that only
subclasses (i.e., implementations of the interface), are allowed to call
them.
BUG= 486274
Committed: https://crrev.com/d9425d67c7e7fdd53e181f566ddc78f27dc8281c
Cr-Commit-Position: refs/heads/master@{#385582}
Total comments: 12
Total comments: 10
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+509 lines, -184 lines) |
Patch |
 |
M |
chrome/renderer/media/cast_rtp_stream.cc
|
View
|
1
2
3
|
4 chunks |
+135 lines, -52 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host.cc
|
View
|
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/media/video_capture_messages.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/media_stream_utils.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/media_stream_utils.cc
|
View
|
1
2
3
|
1 chunk |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/media_stream_video_sink.h
|
View
|
1
2
3
|
1 chunk |
+28 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/media_stream_video_sink.cc
|
View
|
1
2
3
|
1 chunk |
+20 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_constraints_util.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_constraints_util.cc
|
View
|
1
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_capturer_source.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_capturer_source_unittest.cc
|
View
|
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_renderer_sink.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_renderer_sink.cc
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_source.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_source_unittest.cc
|
View
|
|
9 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_track.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_track.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_track_unittest.cc
|
View
|
|
8 chunks |
+18 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/mock_media_stream_video_sink.h
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/video_capture_impl.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/video_capture_impl.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/video_capture_impl_manager.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/video_capture_impl_manager.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/video_track_recorder.cc
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/video_track_to_pepper_adapter.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc/media_stream_video_webrtc_sink.h
|
View
|
1
2
3
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc
|
View
|
1
2
3
|
11 chunks |
+110 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_media_stream_video_track_host.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_media_stream_video_track_host.cc
|
View
|
1
2
3
|
4 chunks |
+10 lines, -17 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 28 (9 generated)
|