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

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: Move objc instance variables to the implementation file. Created 4 years, 8 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 6164731982620030ae4db7992204a2196982a1bc..e34ebf28b51c63278f1c4b98f2df66ccbb134c4c 100644
--- a/webrtc/api/webrtcsession.h
+++ b/webrtc/api/webrtcsession.h
@@ -34,7 +34,6 @@ namespace cricket {
class ChannelManager;
class DataChannel;
class StatsReport;
-class VideoCapturer;
class VideoChannel;
class VoiceChannel;
@@ -250,7 +249,9 @@ class WebRtcSession : public AudioProviderInterface,
const RtpParameters& parameters) 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