| Index: talk/app/webrtc/peerconnectioninterface.h
|
| diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h
|
| index 46481768b9a46af79ff6b4b709f11bd3641d1660..0f7f8f6f6078b20b52a06d2a9b33d11b7cac1307 100644
|
| --- a/talk/app/webrtc/peerconnectioninterface.h
|
| +++ b/talk/app/webrtc/peerconnectioninterface.h
|
| @@ -331,6 +331,19 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
| // remote peer is notified.
|
| virtual void RemoveStream(MediaStreamInterface* stream) = 0;
|
|
|
| + // TODO(deadbeef): Make the following two methods pure virtual once
|
| + // implemented by all subclasses of PeerConnectionInterface.
|
| + // Add a new MediaStreamTrack to be sent on this PeerConnection.
|
| + // |streams| indicates which stream labels the track should be associated
|
| + // with.
|
| + virtual rtc::scoped_refptr<RtpSenderInterface> AddTrack(
|
| + MediaStreamTrackInterface* track,
|
| + std::vector<MediaStreamInterface*> streams) = 0;
|
| +
|
| + // Remove an RtpSender from this PeerConnection.
|
| + // Returns true on success.
|
| + virtual bool RemoveTrack(RtpSenderInterface* sender) = 0;
|
| +
|
| // Returns pointer to the created DtmfSender on success.
|
| // Otherwise returns NULL.
|
| virtual rtc::scoped_refptr<DtmfSenderInterface> CreateDtmfSender(
|
|
|