Reland "Update RTCStatsCollector to work with RtpTransceivers"
Original change's description: > Update RTCStatsCollector to work with RtpTransceivers > > Bug: webrtc:8764 > Change-Id: I8b442345869eb6d8b65fd12241ed7cb6e7d7ce3d > Reviewed-on: https://webrtc-review.googlesource.com/49580 > Commit-Queue: Steve Anton <steveanton@webrtc.org> > Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> > Reviewed-by: Henrik Boström <hbos@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#22026} Bug: webrtc:8764 Change-Id: I6a682824febf3f4f41397fc1a8dd7396c4ffa8e3 Reviewed-on: https://webrtc-review.googlesource.com/54160 Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Commit-Queue: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22064}
This commit is contained in:
@ -120,14 +120,6 @@ class RtpReceiverInterface : public rtc::RefCountInterface {
|
||||
// content::FakeRtpReceiver in Chromium.
|
||||
virtual std::vector<RtpSource> GetSources() const;
|
||||
|
||||
// TODO(hta): Remove default implementation or move function to
|
||||
// an internal interface. content::FakeRtpReceiver in Chromium needs this.
|
||||
|
||||
// Returns an ID that changes if the attached track changes, but
|
||||
// otherwise remains constant. Used to generate IDs for stats.
|
||||
// The special value zero means that no track is attached.
|
||||
virtual int AttachmentId() const;
|
||||
|
||||
protected:
|
||||
~RtpReceiverInterface() override = default;
|
||||
};
|
||||
@ -146,7 +138,6 @@ BEGIN_SIGNALING_PROXY_MAP(RtpReceiver)
|
||||
PROXY_METHOD1(bool, SetParameters, const RtpParameters&)
|
||||
PROXY_METHOD1(void, SetObserver, RtpReceiverObserverInterface*);
|
||||
PROXY_CONSTMETHOD0(std::vector<RtpSource>, GetSources);
|
||||
PROXY_CONSTMETHOD0(int, AttachmentId);
|
||||
END_PROXY_MAP()
|
||||
|
||||
} // namespace webrtc
|
||||
|
Reference in New Issue
Block a user