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

Unified Diff: talk/media/base/mediachannel.h

Issue 1631703002: Make WebRtcVideoChannel2::WebRtcVideoSendStream implement rtc::VideoRendererInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix PropagatesInputFrameTimestamp and ProducesIncreasingTimestampsWithResetInputSources. 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/media/base/mediachannel.h
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h
index f6fb77d8a6db018a886b0268920c175623a4b82c..50d2fcafda05393956d7c94e1d8ebed3f96957f0 100644
--- a/talk/media/base/mediachannel.h
+++ b/talk/media/base/mediachannel.h
@@ -42,6 +42,7 @@
#include "webrtc/base/sigslot.h"
#include "webrtc/base/socket.h"
#include "webrtc/base/window.h"
+#include "webrtc/media/base/videosinkinterface.h"
perkj_webrtc 2016/01/26 15:40:56 forward declare?
nisse-webrtc 2016/01/28 08:24:53 I know how to forward declare a plain class, but h
// TODO(juberti): re-evaluate this include
#include "talk/session/media/audiomonitor.h"
@@ -60,6 +61,7 @@ namespace cricket {
class AudioRenderer;
class ScreencastId;
class VideoCapturer;
+class VideoFrame;
class VideoRenderer;
struct RtpHeader;
struct VideoFormat;
@@ -1079,6 +1081,9 @@ class VideoMediaChannel : public MediaChannel {
virtual bool SetVideoSend(uint32_t ssrc,
bool enable,
const VideoOptions* options) = 0;
+ // Get the VideoSink for passing frames into a video sendstream
+ virtual rtc::VideoSinkInterface<cricket::VideoFrame>* GetSink(
+ uint32_t ssrc) = 0;
// Sets the renderer object to be used for the specified stream.
// If SSRC is 0, the renderer is used for the 'default' stream.
virtual bool SetRenderer(uint32_t ssrc, VideoRenderer* renderer) = 0;

Powered by Google App Engine
This is Rietveld 408576698