OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_ | 5 #ifndef MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_ |
6 #define MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_ | 6 #define MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_ |
7 | 7 |
8 #include "base/time/tick_clock.h" | 8 #include "base/time/tick_clock.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "media/cast/rtp_common/rtp_defines.h" | 10 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" |
11 | 11 |
12 namespace media { | 12 namespace media { |
13 namespace cast { | 13 namespace cast { |
14 | 14 |
15 class ReceiverStats { | 15 class ReceiverStats { |
16 public: | 16 public: |
17 explicit ReceiverStats(base::TickClock* clock); | 17 explicit ReceiverStats(base::TickClock* clock); |
18 ~ReceiverStats(); | 18 ~ReceiverStats(); |
19 | 19 |
20 void GetStatistics(uint8* fraction_lost, | 20 void GetStatistics(uint8* fraction_lost, |
(...skipping 17 matching lines...) Expand all Loading... |
38 // Intermediate metrics - between RTCP reports. | 38 // Intermediate metrics - between RTCP reports. |
39 int interval_min_sequence_number_; | 39 int interval_min_sequence_number_; |
40 int interval_number_packets_; | 40 int interval_number_packets_; |
41 int interval_wrap_count_; | 41 int interval_wrap_count_; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace cast | 44 } // namespace cast |
45 } // namespace media | 45 } // namespace media |
46 | 46 |
47 #endif // MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_ | 47 #endif // MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_ |
OLD | NEW |