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

Unified Diff: webrtc/api/mediastreamprovider.h

Issue 1766653002: Replace SetCapturer and SetCaptureDevice by SetSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased, no longer any proxy object changes. 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
« no previous file with comments | « webrtc/api/mediastreaminterface.h ('k') | webrtc/api/objc/RTCAVFoundationVideoSource.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastreamprovider.h
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h
index 6814c416e20ccc6d5821b35278cbae42e8325c7d..f3bb3f49f39ef4ecf5b90ef1561980d992a5406c 100644
--- a/webrtc/api/mediastreamprovider.h
+++ b/webrtc/api/mediastreamprovider.h
@@ -15,13 +15,12 @@
#include "webrtc/base/basictypes.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/media/base/videosinkinterface.h"
+#include "webrtc/media/base/videosourceinterface.h"
namespace cricket {
class AudioSource;
-class VideoCapturer;
class VideoFrame;
-class VideoRenderer;
struct AudioOptions;
struct VideoOptions;
@@ -75,8 +74,9 @@ class AudioProviderInterface {
// of a video track connected to a certain PeerConnection.
class VideoProviderInterface {
public:
- virtual bool SetCaptureDevice(uint32_t ssrc,
- cricket::VideoCapturer* camera) = 0;
+ virtual bool SetSource(
+ uint32_t ssrc,
+ rtc::VideoSourceInterface<cricket::VideoFrame>* source) = 0;
// Enable/disable the video playout of a remote video track with |ssrc|.
virtual void SetVideoPlayout(
uint32_t ssrc,
« no previous file with comments | « webrtc/api/mediastreaminterface.h ('k') | webrtc/api/objc/RTCAVFoundationVideoSource.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698