Index: talk/app/webrtc/peerconnectioninterface.h |
diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h |
index ca853385e6327fdcad52014b32abc115685e80c1..53e48c230fe76e7663f5662bf1d972ca7241da85 100644 |
--- a/talk/app/webrtc/peerconnectioninterface.h |
+++ b/talk/app/webrtc/peerconnectioninterface.h |
@@ -77,6 +77,8 @@ |
#include "talk/app/webrtc/dtlsidentitystore.h" |
#include "talk/app/webrtc/jsep.h" |
#include "talk/app/webrtc/mediastreaminterface.h" |
+#include "talk/app/webrtc/rtpreceiverinterface.h" |
+#include "talk/app/webrtc/rtpsenderinterface.h" |
#include "talk/app/webrtc/statstypes.h" |
#include "talk/app/webrtc/umametrics.h" |
#include "webrtc/base/fileutils.h" |
@@ -322,6 +324,12 @@ class PeerConnectionInterface : public rtc::RefCountInterface { |
virtual rtc::scoped_refptr<DtmfSenderInterface> CreateDtmfSender( |
AudioTrackInterface* track) = 0; |
+ typedef std::vector<rtc::scoped_refptr<RtpSenderInterface>> RtpSenders; |
pthatcher1
2015/09/17 04:25:46
I think we should call it something like Refcounte
Taylor Brandstetter
2015/09/23 00:10:45
I assume you mean "out of PeerConnectionInterface"
pthatcher1
2015/09/23 14:47:39
Yes, out of PeerConnectionInterface.
Actually, th
|
+ virtual RtpSenders GetSenders() = 0; |
+ |
+ typedef std::vector<rtc::scoped_refptr<RtpReceiverInterface>> RtpReceivers; |
+ virtual RtpReceivers GetReceivers() = 0; |
+ |
virtual bool GetStats(StatsObserver* observer, |
MediaStreamTrackInterface* track, |
StatsOutputLevel level) = 0; |