|
Added VideoTrackInterface::GetSink method, for use by VideoRtpReceiver. This lets us delete FrameInput.
This way, the use of VideoSourceInterface::FrameInput method becomes
an implementation details in VideoTrack. When VideoTrack is changed to
become a VideoSink, the implementation of VideoTrack::GetSink can be
changed to simply return |this|.
Having an extra method which will ultimately just returning |this|
looks silly, but may have some advantage when using VideoTrackProxy
(which I don't fully understand), since we return the underlying
object instead of proxying OnFrame calls.
On top of https://codereview.webrtc.org/1668493002/
BUG= webrtc:5426
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+116 lines, -138 lines) |
Patch |
|
M |
talk/app/webrtc/mediastreaminterface.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
1 comment
|
Download
|
|
M |
talk/app/webrtc/mediastreamprovider.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
1 comment
|
Download
|
|
M |
talk/app/webrtc/mediastreamtrackproxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/rtpreceiver.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
1 comment
|
Download
|
|
M |
talk/app/webrtc/rtpsenderreceiver_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosource.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosource.cc
|
View
|
1
|
2 chunks |
+0 lines, -37 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosource_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosourceinterface.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videosourceproxy.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videotrack.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videotrack.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
1 comment
|
Download
|
|
M |
talk/app/webrtc/videotrack_unittest.cc
|
View
|
1
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/webrtcsession.h
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/webrtcsession.cc
|
View
|
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/webrtcsession_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
talk/media/base/fakemediaengine.h
|
View
|
|
4 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
talk/media/base/mediachannel.h
|
View
|
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videoengine_unittest.h
|
View
|
|
21 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoengine2.h
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoengine2.cc
|
View
|
|
4 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoengine2_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
talk/session/media/channel.h
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
talk/session/media/channel.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 8 (4 generated)
|