Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: talk/app/webrtc/mediastreamprovider.h

Issue 1668493002: Replace uses of cricket::VideoRenderer by rtc::VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | talk/app/webrtc/rtpsenderreceiver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/mediastreamprovider.h
diff --git a/talk/app/webrtc/mediastreamprovider.h b/talk/app/webrtc/mediastreamprovider.h
index 585d51bcc8178c1ba245a40f6121cbe1971d5671..103b3f36d4653b0e1990e14e00805a2831dc4715 100644
--- a/talk/app/webrtc/mediastreamprovider.h
+++ b/talk/app/webrtc/mediastreamprovider.h
@@ -30,11 +30,13 @@
#include "webrtc/base/basictypes.h"
#include "webrtc/base/scoped_ptr.h"
+#include "webrtc/media/base/videosinkinterface.h"
namespace cricket {
class AudioRenderer;
class VideoCapturer;
+class VideoFrame;
class VideoRenderer;
struct AudioOptions;
struct VideoOptions;
@@ -88,9 +90,10 @@ class VideoProviderInterface {
virtual bool SetCaptureDevice(uint32_t ssrc,
cricket::VideoCapturer* camera) = 0;
// Enable/disable the video playout of a remote video track with |ssrc|.
- virtual void SetVideoPlayout(uint32_t ssrc,
- bool enable,
- cricket::VideoRenderer* renderer) = 0;
+ virtual void SetVideoPlayout(
+ uint32_t ssrc,
+ bool enable,
+ rtc::VideoSinkInterface<cricket::VideoFrame>* sink) = 0;
// Enable sending video on the local video track with |ssrc|.
virtual void SetVideoSend(uint32_t ssrc,
bool enable,
« no previous file with comments | « no previous file | talk/app/webrtc/rtpsenderreceiver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698