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

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

Issue 1664773002: Added VideoTrackInterface::GetSink method, for use by VideoRtpReceiver. Get rid of FrameInput. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete FrameInput method and FrameInputWrapper class. 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
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;
pthatcher1 2016/02/03 16:24:29 You could do this in the smaller CL as well. Ther
// Enable sending video on the local video track with |ssrc|.
virtual void SetVideoSend(uint32_t ssrc,
bool enable,

Powered by Google App Engine
This is Rietveld 408576698