Index: talk/media/webrtc/webrtcvideoengine2.h |
diff --git a/talk/media/webrtc/webrtcvideoengine2.h b/talk/media/webrtc/webrtcvideoengine2.h |
index e0d95bb1e5aad54edfb95d9378edc5584da553e0..18b6c0ee1dfe42657942be24eb49e00f42fe4c4d 100644 |
--- a/talk/media/webrtc/webrtcvideoengine2.h |
+++ b/talk/media/webrtc/webrtcvideoengine2.h |
@@ -96,12 +96,13 @@ class DefaultUnsignalledSsrcHandler : public UnsignalledSsrcHandler { |
Action OnUnsignalledSsrc(WebRtcVideoChannel2* channel, |
uint32_t ssrc) override; |
- VideoRenderer* GetDefaultRenderer() const; |
- void SetDefaultRenderer(VideoMediaChannel* channel, VideoRenderer* renderer); |
+ rtc::VideoSinkInterface<VideoFrame>* GetDefaultSink() const; |
+ void SetDefaultSink(VideoMediaChannel* channel, |
+ rtc::VideoSinkInterface<VideoFrame>* sink); |
private: |
uint32_t default_recv_ssrc_; |
- VideoRenderer* default_renderer_; |
+ rtc::VideoSinkInterface<VideoFrame>* default_sink_; |
}; |
// WebRtcVideoEngine2 is used for the new native WebRTC Video API (webrtc:1667). |
@@ -169,7 +170,8 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, |
bool AddRecvStream(const StreamParams& sp) override; |
bool AddRecvStream(const StreamParams& sp, bool default_stream); |
bool RemoveRecvStream(uint32_t ssrc) override; |
- bool SetRenderer(uint32_t ssrc, VideoRenderer* renderer) override; |
+ bool SetSink(uint32_t ssrc, |
+ rtc::VideoSinkInterface<VideoFrame>* sink) override; |
bool GetStats(VideoMediaInfo* info) override; |
bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer) override; |