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

Unified Diff: webrtc/pc/channel.cc

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.cc
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc
index 8e916f12793802f245313b3c088050b128961cdc..4ec3b6dbd2088756b199c6b0b4823690a3f90392 100644
--- a/webrtc/pc/channel.cc
+++ b/webrtc/pc/channel.cc
@@ -1675,16 +1675,12 @@ bool VideoChannel::SetSink(uint32_t ssrc,
return true;
}
-bool VideoChannel::SetCapturer(uint32_t ssrc, VideoCapturer* capturer) {
- return InvokeOnWorker(Bind(&VideoMediaChannel::SetCapturer,
- media_channel(), ssrc, capturer));
-}
-
bool VideoChannel::SetVideoSend(uint32_t ssrc,
bool mute,
- const VideoOptions* options) {
+ const VideoOptions* options,
+ VideoCapturer* capturer) {
return InvokeOnWorker(Bind(&VideoMediaChannel::SetVideoSend, media_channel(),
- ssrc, mute, options));
+ ssrc, mute, options, capturer));
}
webrtc::RtpParameters VideoChannel::GetRtpParameters(uint32_t ssrc) const {

Powered by Google App Engine
This is Rietveld 408576698