Refactor some receive-side stats.
Removes polling of CName as well as receive codec statistics in favor of internal callbacks keeping a statistics struct up to date. R=mflodman@webrtc.org, stefan@webrtc.org BUG=1667 Review URL: https://webrtc-codereview.appspot.com/28259005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7950 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -988,13 +988,13 @@ bool ModuleRtpRtcpImpl::StorePackets() const {
|
||||
return rtp_sender_.StorePackets();
|
||||
}
|
||||
|
||||
void ModuleRtpRtcpImpl::RegisterSendChannelRtcpStatisticsCallback(
|
||||
void ModuleRtpRtcpImpl::RegisterRtcpStatisticsCallback(
|
||||
RtcpStatisticsCallback* callback) {
|
||||
rtcp_receiver_.RegisterRtcpStatisticsCallback(callback);
|
||||
}
|
||||
|
||||
RtcpStatisticsCallback* ModuleRtpRtcpImpl::
|
||||
GetSendChannelRtcpStatisticsCallback() {
|
||||
RtcpStatisticsCallback*
|
||||
ModuleRtpRtcpImpl::GetRtcpStatisticsCallback() {
|
||||
return rtcp_receiver_.GetRtcpStatisticsCallback();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user