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

Unified Diff: webrtc/api/webrtcsession.h

Issue 1766653002: Replace SetCapturer and SetCaptureDevice by SetSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Make SetSource tolerate unknown ssrc and source == NULL. Created 4 years, 10 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/api/webrtcsession.h
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h
index 70265d30434e012369a508bf0e847553bb17dd07..b6ecc777d3415296e02a13b1b2104eae83e2bb59 100644
--- a/webrtc/api/webrtcsession.h
+++ b/webrtc/api/webrtcsession.h
@@ -33,7 +33,6 @@ namespace cricket {
class ChannelManager;
class DataChannel;
class StatsReport;
-class VideoCapturer;
class VideoChannel;
class VoiceChannel;
@@ -240,7 +239,9 @@ class WebRtcSession : public AudioProviderInterface,
rtc::scoped_ptr<AudioSinkInterface> sink) override;
// Implements VideoMediaProviderInterface.
- bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override;
+ bool SetSource(
+ uint32_t ssrc,
+ rtc::VideoSourceInterface<cricket::VideoFrame>* source) override;
void SetVideoPlayout(
uint32_t ssrc,
bool enable,

Powered by Google App Engine
This is Rietveld 408576698