Chromium Code Reviews| Index: talk/app/webrtc/mediastreaminterface.h |
| diff --git a/talk/app/webrtc/mediastreaminterface.h b/talk/app/webrtc/mediastreaminterface.h |
| index 8d6feb02ef268a8115985d517e13cd0a40a018a3..0bff70a7cd483930c63a16f19c04b04bef9e3f25 100644 |
| --- a/talk/app/webrtc/mediastreaminterface.h |
| +++ b/talk/app/webrtc/mediastreaminterface.h |
| @@ -146,6 +146,11 @@ class VideoTrackInterface : public MediaStreamTrackInterface { |
| virtual void RemoveRenderer(VideoRendererInterface* renderer) = 0; |
| virtual VideoSourceInterface* GetSource() const = 0; |
| + // TODO(nisse): Return type should be changed to |
| + // rtc::VideoSinkInterface<cricket::VideoFrame>*, as soon as |
| + // VideoProviderInterface::SetVideoPlayout is changed to accept that |
| + // type. |
| + virtual cricket::VideoRenderer* GetSink() = 0; |
|
pthatcher1
2016/02/03 16:17:39
We should describe what this returns. I believe i
perkj_webrtc
2016/02/04 07:32:44
Doing that would force the track proxies to also h
nisse-webrtc
2016/02/04 08:22:37
Done.
pthatcher1
2016/02/04 17:30:45
So a Track is neither a Source nor a Sink, but jus
|
| protected: |
| virtual ~VideoTrackInterface() {} |