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

Unified Diff: talk/session/media/channel.cc

Issue 1655793003: Make cricket::VideoCapturer implement VideoSourceInterface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Adding VideoSourceInterface and letting cricket::VideoCapturer implement it 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/session/media/channel.cc
diff --git a/talk/session/media/channel.cc b/talk/session/media/channel.cc
index a59c3f82b771848b79f88fa949e781d77c5f5a07..3718e65440915453fdb4283cc05c7d6852792ff5 100644
--- a/talk/session/media/channel.cc
+++ b/talk/session/media/channel.cc
@@ -1726,6 +1726,12 @@ bool VideoChannel::SetVideoSend(uint32_t ssrc,
ssrc, mute, options));
}
+rtc::VideoSinkInterface<cricket::VideoFrame>* VideoChannel::GetSink(
+ uint32_t ssrc) {
+ return worker_thread()->Invoke<rtc::VideoSinkInterface<cricket::VideoFrame>*>(
+ Bind(&VideoMediaChannel::GetSink, media_channel(), ssrc));
+}
+
void VideoChannel::ChangeState() {
// Send outgoing data if we're the active call, we have the remote content,
// and we have had some form of connectivity.

Powered by Google App Engine
This is Rietveld 408576698