OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This class maintains a bi-directional RTCP connection with a remote | 5 // This class maintains a bi-directional RTCP connection with a remote |
6 // peer. | 6 // peer. |
7 | 7 |
8 #ifndef MEDIA_CAST_RTCP_RTCP_H_ | 8 #ifndef MEDIA_CAST_RTCP_RTCP_H_ |
9 #define MEDIA_CAST_RTCP_RTCP_H_ | 9 #define MEDIA_CAST_RTCP_RTCP_H_ |
10 | 10 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // manner (e.g., about once per second). | 164 // manner (e.g., about once per second). |
165 uint32 lip_sync_rtp_timestamp_; | 165 uint32 lip_sync_rtp_timestamp_; |
166 uint64 lip_sync_ntp_timestamp_; | 166 uint64 lip_sync_ntp_timestamp_; |
167 | 167 |
168 base::TimeDelta rtt_; | 168 base::TimeDelta rtt_; |
169 base::TimeDelta min_rtt_; | 169 base::TimeDelta min_rtt_; |
170 base::TimeDelta max_rtt_; | 170 base::TimeDelta max_rtt_; |
171 int number_of_rtt_in_avg_; | 171 int number_of_rtt_in_avg_; |
172 base::TimeDelta avg_rtt_; | 172 base::TimeDelta avg_rtt_; |
173 | 173 |
| 174 base::TimeTicks largest_seen_timestamp_; |
| 175 |
174 // For extending received ACK frame IDs from 8-bit to 32-bit. | 176 // For extending received ACK frame IDs from 8-bit to 32-bit. |
175 FrameIdWrapHelper ack_frame_id_wrap_helper_; | 177 FrameIdWrapHelper ack_frame_id_wrap_helper_; |
176 | 178 |
177 // Maintains a history of receiver events. | 179 // Maintains a history of receiver events. |
178 typedef std::pair<uint64, uint64> ReceiverEventKey; | 180 typedef std::pair<uint64, uint64> ReceiverEventKey; |
179 base::hash_set<ReceiverEventKey> receiver_event_key_set_; | 181 base::hash_set<ReceiverEventKey> receiver_event_key_set_; |
180 std::queue<ReceiverEventKey> receiver_event_key_queue_; | 182 std::queue<ReceiverEventKey> receiver_event_key_queue_; |
181 | 183 |
182 DISALLOW_COPY_AND_ASSIGN(Rtcp); | 184 DISALLOW_COPY_AND_ASSIGN(Rtcp); |
183 }; | 185 }; |
184 | 186 |
185 } // namespace cast | 187 } // namespace cast |
186 } // namespace media | 188 } // namespace media |
187 | 189 |
188 #endif // MEDIA_CAST_RTCP_RTCP_H_ | 190 #endif // MEDIA_CAST_RTCP_RTCP_H_ |
OLD | NEW |