Add possibility to get the last processed RTT from the call stats class (to be used by RTP/RTCP module).

R=mflodman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2383004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5139 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
asapersson@webrtc.org
2013-11-20 12:46:11 +00:00
parent 27326b6a42
commit 1ae1d0c471
12 changed files with 115 additions and 59 deletions

View File

@ -288,11 +288,13 @@ class RtcpBandwidthObserver {
virtual ~RtcpBandwidthObserver() {}
};
class RtcpRttObserver {
class RtcpRttStats {
public:
virtual void OnRttUpdate(uint32_t rtt) = 0;
virtual ~RtcpRttObserver() {};
virtual uint32_t LastProcessedRtt() const = 0;
virtual ~RtcpRttStats() {};
};
// Null object version of RtpFeedback.