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

Unified Diff: webrtc/pc/channel.h

Issue 1838413002: Combining SetVideoSend and SetSource into one method. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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: webrtc/pc/channel.h
diff --git a/webrtc/pc/channel.h b/webrtc/pc/channel.h
index 45657f88ee0b07fc340e6ab753080306606a6783..0860b05f4dc9b326be8e9f6ff57001f170742ce6 100644
--- a/webrtc/pc/channel.h
+++ b/webrtc/pc/channel.h
@@ -444,7 +444,6 @@ class VideoChannel : public BaseChannel {
}
bool SetSink(uint32_t ssrc, rtc::VideoSinkInterface<VideoFrame>* sink);
- bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer);
// Get statistics about the current media session.
bool GetStats(VideoMediaInfo* stats);
@@ -455,7 +454,10 @@ class VideoChannel : public BaseChannel {
void StopMediaMonitor();
sigslot::signal2<VideoChannel*, const VideoMediaInfo&> SignalMediaMonitor;
- bool SetVideoSend(uint32_t ssrc, bool enable, const VideoOptions* options);
+ bool SetVideoSend(uint32_t ssrc,
+ bool enable,
+ const VideoOptions* options,
+ VideoCapturer* capturer);
webrtc::RtpParameters GetRtpParameters(uint32_t ssrc) const;
bool SetRtpParameters(uint32_t ssrc, const webrtc::RtpParameters& parameters);

Powered by Google App Engine
This is Rietveld 408576698