Remove GetReceiveBandwidthEstimatorStats.
Removes unnecessary non-standard stats that we don't really make use of.
BUG=
R=pthatcher@webrtc.org, stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/47379004
Cr-Commit-Position: refs/heads/master@{#8588}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8588 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h
index 19cb9a3..03363fe 100644
--- a/talk/media/base/mediachannel.h
+++ b/talk/media/base/mediachannel.h
@@ -944,8 +944,7 @@
actual_enc_bitrate(0),
retransmit_bitrate(0),
transmit_bitrate(0),
- bucket_delay(0),
- total_received_propagation_delta_ms(0) {
+ bucket_delay(0) {
}
int available_send_bandwidth;
@@ -955,11 +954,6 @@
int retransmit_bitrate;
int transmit_bitrate;
int64_t bucket_delay;
- // The following stats are only valid when
- // StatsOptions::include_received_propagation_stats is true.
- int total_received_propagation_delta_ms;
- std::vector<int> recent_received_propagation_delta_ms;
- std::vector<int64_t> recent_received_packet_group_arrival_time_ms;
};
struct VoiceMediaInfo {
@@ -991,12 +985,6 @@
std::vector<DataReceiverInfo> receivers;
};
-struct StatsOptions {
- StatsOptions() : include_received_propagation_stats(false) {}
-
- bool include_received_propagation_stats;
-};
-
class VoiceMediaChannel : public MediaChannel {
public:
enum Error {
@@ -1115,13 +1103,7 @@
// |capturer|. If |ssrc| is non zero create a new stream with |ssrc| as SSRC.
virtual bool SetCapturer(uint32 ssrc, VideoCapturer* capturer) = 0;
// Gets quality stats for the channel.
- virtual bool GetStats(const StatsOptions& options, VideoMediaInfo* info) = 0;
- // This is needed for MediaMonitor to use the same template for voice, video
- // and data MediaChannels.
- bool GetStats(VideoMediaInfo* info) {
- return GetStats(StatsOptions(), info);
- }
-
+ virtual bool GetStats(VideoMediaInfo* info) = 0;
// Send an intra frame to the receivers.
virtual bool SendIntraFrame() = 0;
// Reuqest each of the remote senders to send an intra frame.