Replace SetCapturer and SetCaptureDevice by SetSource.

Drop return value.

BUG=webrtc:5426

Review URL: https://codereview.webrtc.org/1766653002

Cr-Commit-Position: refs/heads/master@{#12291}
This commit is contained in:
nisse
2016-04-08 02:23:55 -07:00
committed by Commit bot
parent e0d4637bea
commit 2ded9b19d1
21 changed files with 211 additions and 352 deletions

View File

@ -31,7 +31,6 @@
namespace cricket {
class AudioRenderer;
class VideoCapturer;
class VideoRenderer;
class VideoFrame;
@ -113,14 +112,6 @@ class VideoTrackSourceInterface
int input_width;
int input_height;
};
// Get access to the source implementation of cricket::VideoCapturer.
// This can be used for receiving frames and state notifications.
// But it should not be used for starting or stopping capturing.
// TODO(perkj): We are currently trying to replace all internal use of
// cricket::VideoCapturer with rtc::VideoSourceInterface. Once that
// refactoring is done,
// remove this method.
virtual cricket::VideoCapturer* GetVideoCapturer() = 0;
virtual void Stop() = 0;
virtual void Restart() = 0;