Exposing RtpSenders and RtpReceivers from PeerConnection. This CL essentially converts [Local|Remote]TrackHandler to Rtp[Sender|Receiver], and adds a "SetTrack" method for RtpSender. It also gets rid of MediaStreamHandler and MediaStreamHandlerContainer, since these classes weren't really anything more than containers. PeerConnection now manages the RtpSenders and RtpReceivers directly. Review URL: https://codereview.webrtc.org/1351803002 Cr-Commit-Position: refs/heads/master@{#10100}
diff --git a/talk/app/webrtc/peerconnectionproxy.h b/talk/app/webrtc/peerconnectionproxy.h index 2f015cdf..d9af8d9 100644 --- a/talk/app/webrtc/peerconnectionproxy.h +++ b/talk/app/webrtc/peerconnectionproxy.h
@@ -43,6 +43,10 @@ PROXY_METHOD1(void, RemoveStream, MediaStreamInterface*) PROXY_METHOD1(rtc::scoped_refptr<DtmfSenderInterface>, CreateDtmfSender, AudioTrackInterface*) + PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<RtpSenderInterface>>, + GetSenders) + PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<RtpReceiverInterface>>, + GetReceivers) PROXY_METHOD3(bool, GetStats, StatsObserver*, MediaStreamTrackInterface*, StatsOutputLevel)