Index: webrtc/api/mediastreamprovider.h |
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h |
index 6814c416e20ccc6d5821b35278cbae42e8325c7d..362974e746bae14c9f76bea8f06803ae64b49124 100644 |
--- a/webrtc/api/mediastreamprovider.h |
+++ b/webrtc/api/mediastreamprovider.h |
@@ -75,17 +75,17 @@ class AudioProviderInterface { |
// of a video track connected to a certain PeerConnection. |
class VideoProviderInterface { |
public: |
- virtual bool SetCaptureDevice(uint32_t ssrc, |
- cricket::VideoCapturer* camera) = 0; |
// Enable/disable the video playout of a remote video track with |ssrc|. |
virtual void SetVideoPlayout( |
uint32_t ssrc, |
bool enable, |
rtc::VideoSinkInterface<cricket::VideoFrame>* sink) = 0; |
- // Enable sending video on the local video track with |ssrc|. |
+ // Enable/disable sending video on the local video track with |ssrc|. |
+ // TODO(deadbeef): Make |options| a reference parameter. |
virtual void SetVideoSend(uint32_t ssrc, |
bool enable, |
- const cricket::VideoOptions* options) = 0; |
+ const cricket::VideoOptions* options, |
+ cricket::VideoCapturer* camera) = 0; |
virtual RtpParameters GetVideoRtpParameters(uint32_t ssrc) const = 0; |
virtual bool SetVideoRtpParameters(uint32_t ssrc, |