|
Refactor VideoDestinationHandler to implement MediaStreamVideoSource.
VideoDestinationHandler is moved to media/webrtc since it needs to use libyuv. It also make sence since its a private API only used for WebRtc.
This cl also remove the WebRtcVideoCaptureAdapter::SetCurrrentFormat and make sure video resolution constraints are not passed to libJingle. Libjingle do not need to know the capture resolution or the used resolution constraints and that is infact how
VideoDestionationHandler can work today.
This is needed to simplify the adapter and the use of MediaStreamVideoSource since its currently not possible to call WebRtcVideoCaptureAdapter::SetCurrrentFormat before the MediaStreamVideoSource::OnSupportedFormat has been called.
BUG= 334243
// TBR Jam for gyp changes, yzshen for the header file path change in Pepper.
R=joi@chromium.org, ronghuawu@chromium.org
TBR=jam, yzshen1
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261364
Total comments: 21
Total comments: 13
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+256 lines, -753 lines) |
Patch |
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_source.h
|
View
|
|
3 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_source.cc
|
View
|
1
2
|
3 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_source_unittest.cc
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_track_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -34 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/mock_media_stream_dependency_factory.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/media/mock_media_stream_video_sink.h
|
View
|
1
2
3
|
1 chunk |
+21 lines, -16 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/media/mock_media_stream_video_sink.cc
|
View
|
1
2
3
|
1 chunk |
+15 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_media_constraints.cc
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
D |
content/renderer/media/video_destination_handler.h
|
View
|
|
1 chunk |
+0 lines, -94 lines |
0 comments
|
Download
|
 |
D |
content/renderer/media/video_destination_handler.cc
|
View
|
|
1 chunk |
+0 lines, -211 lines |
0 comments
|
Download
|
 |
D |
content/renderer/media/video_destination_handler_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -126 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/media/webrtc/video_destination_handler.h
|
View
|
|
2 chunks |
+23 lines, -25 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/media/webrtc/video_destination_handler.cc
|
View
|
1
2
3
|
5 chunks |
+90 lines, -106 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/media/webrtc/video_destination_handler_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+35 lines, -78 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_video_destination_host.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 35 (0 generated)
|