Changing some PeerConnection-related comments.
As recommended by nisse@ in comments on this CL:
https://codereview.webrtc.org/2685093002/
BUG=None
NOTRY=True
TBR=nisse@webrtc.org
Review-Url: https://codereview.webrtc.org/2692923002
Cr-Commit-Position: refs/heads/master@{#16589}
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
index 0c9198c..950dad8 100644
--- a/webrtc/api/peerconnectioninterface.h
+++ b/webrtc/api/peerconnectioninterface.h
@@ -965,8 +965,11 @@
virtual rtc::scoped_refptr<AudioSourceInterface> CreateAudioSource(
const MediaConstraintsInterface* constraints) = 0;
- // Creates a VideoTrackSourceInterface. The new source takes ownership of
- // |capturer|.
+ // Creates a VideoTrackSourceInterface from |capturer|.
+ // TODO(deadbeef): We should aim to remove cricket::VideoCapturer from the
+ // API. It's mainly used as a wrapper around webrtc's provided
+ // platform-specific capturers, but these should be refactored to use
+ // VideoTrackSourceInterface directly.
// TODO(deadbeef): Make pure virtual once downstream mock PC factory classes
// are updated.
virtual rtc::scoped_refptr<VideoTrackSourceInterface> CreateVideoSource(