Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: webrtc/video/vie_channel.h

Issue 1720883002: Move RTCP histograms from vie_channel to video channel stats proxies. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/video/vie_channel.h
diff --git a/webrtc/video/vie_channel.h b/webrtc/video/vie_channel.h
index 228b50e5d4b42a590e46a13407123f379c610fd5..c1d077b3f71ae45ddd2124ef5f4611427251b06d 100644
--- a/webrtc/video/vie_channel.h
+++ b/webrtc/video/vie_channel.h
@@ -130,12 +130,6 @@ class ViEChannel : public VCMFrameTypeCallback,
void RegisterSendChannelRtpStatisticsCallback(
StreamDataCountersCallback* callback);
- void GetSendRtcpPacketTypeCounter(
- RtcpPacketTypeCounter* packet_counter) const;
-
- void GetReceiveRtcpPacketTypeCounter(
- RtcpPacketTypeCounter* packet_counter) const;
-
void RegisterSendSideDelayObserver(SendSideDelayObserver* observer);
// Called on any new send bitrate estimate.
@@ -318,18 +312,9 @@ class ViEChannel : public VCMFrameTypeCallback,
rtc::CritScope lock(&critsect_);
if (callback_)
callback_->RtcpPacketTypesCounterUpdated(ssrc, packet_counter);
- counter_map_[ssrc] = packet_counter;
- }
-
- virtual std::map<uint32_t, RtcpPacketTypeCounter> GetPacketTypeCounterMap()
- const {
- rtc::CritScope lock(&critsect_);
- return counter_map_;
}
private:
- std::map<uint32_t, RtcpPacketTypeCounter> counter_map_
- GUARDED_BY(critsect_);
} rtcp_packet_type_counter_observer_;
const bool sender_;

Powered by Google App Engine
This is Rietveld 408576698