summaryrefslogtreecommitdiff
path: root/voice_engine/channel.h
diff options
context:
space:
mode:
authorsprang@webrtc.org <sprang@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-12-19 13:26:02 +0000
committersprang@webrtc.org <sprang@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-12-19 13:26:02 +0000
commit4f1f5fa55d803fc0b7f3fd4f6a25a0f84c4e3280 (patch)
tree4b747f7e8e3d0ccaca810c674c91a7912efa628d /voice_engine/channel.h
parent9edcdb013de0f88f9db2eff233968cebbfddeb4c (diff)
downloadwebrtc-4f1f5fa55d803fc0b7f3fd4f6a25a0f84c4e3280.tar.gz
Add callbacks for receive channel RTCP statistics.
This allows a listener to receive new statistics as it is generated - avoiding the need to poll. This also makes handling stats from multiple RTP streams more tractable. The change is primarily targeted at the new video engine API. TEST=Unit test in ReceiveStatisticsTest. Integration tests to follow as call tests when fully wired up. BUG=2235 R=henrika@webrtc.org, pbos@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/5089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5323 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/channel.h')
-rw-r--r--voice_engine/channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/voice_engine/channel.h b/voice_engine/channel.h
index f8b04fdd..48d50c20 100644
--- a/voice_engine/channel.h
+++ b/voice_engine/channel.h
@@ -59,6 +59,7 @@ struct SenderInfo;
namespace voe {
class Statistics;
+class StatisticsProxy;
class TransmitMixer;
class OutputMixer;
@@ -455,6 +456,7 @@ private:
scoped_ptr<RtpHeaderParser> rtp_header_parser_;
scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_;
scoped_ptr<ReceiveStatistics> rtp_receive_statistics_;
+ scoped_ptr<StatisticsProxy> statistics_proxy_;
scoped_ptr<RtpReceiver> rtp_receiver_;
TelephoneEventHandler* telephone_event_handler_;
scoped_ptr<RtpRtcp> _rtpRtcpModule;