Chromium Code Reviews| Index: webrtc/media/base/mediachannel.h |
| diff --git a/webrtc/media/base/mediachannel.h b/webrtc/media/base/mediachannel.h |
| index 95355c9576a1afd117a4a5e4af43065b1a2cd654..b7c5c0a70cffee4f160890da722246c743388adf 100644 |
| --- a/webrtc/media/base/mediachannel.h |
| +++ b/webrtc/media/base/mediachannel.h |
| @@ -28,6 +28,7 @@ |
| #include "webrtc/media/base/mediaconstants.h" |
| #include "webrtc/media/base/streamparams.h" |
| #include "webrtc/media/base/videosinkinterface.h" |
| +#include "webrtc/media/base/videosourceinterface.h" |
| // TODO(juberti): re-evaluate this include |
| #include "webrtc/pc/audiomonitor.h" |
| @@ -993,9 +994,11 @@ class VideoMediaChannel : public MediaChannel { |
| // If SSRC is 0, the renderer is used for the 'default' stream. |
| virtual bool SetSink(uint32_t ssrc, |
| rtc::VideoSinkInterface<cricket::VideoFrame>* sink) = 0; |
| - // If |ssrc| is 0, replace the default capturer (engine capturer) with |
| - // |capturer|. If |ssrc| is non zero create a new stream with |ssrc| as SSRC. |
| - virtual bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer) = 0; |
| + // Register a source. The |ssrc| must correspond to a registered |
|
pbos-webrtc
2016/03/31 14:14:31
reformat comment (send fits on previous line)
nisse-webrtc
2016/04/01 09:35:39
Done. You use fill-column 80?
pbos-webrtc
2016/04/01 10:55:28
Not sure what that is in vim speak, we have 80 cha
|
| + // send stream. |
| + virtual void SetSource( |
| + uint32_t ssrc, |
| + rtc::VideoSourceInterface<cricket::VideoFrame>* source) = 0; |
| // Gets quality stats for the channel. |
| virtual bool GetStats(VideoMediaInfo* info) = 0; |
| }; |