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 // Handles NACK list and manages ACK. | 5 // Handles NACK list and manages ACK. |
6 | 6 |
7 #ifndef MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ | 7 #ifndef MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
8 #define MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ | 8 #define MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 #include <deque> | 12 #include <deque> |
13 #include <map> | 13 #include <map> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/time/tick_clock.h" |
16 #include "media/cast/net/rtcp/rtcp.h" | |
17 #include "media/cast/net/rtp/rtp_defines.h" | 16 #include "media/cast/net/rtp/rtp_defines.h" |
18 | 17 |
19 namespace media { | 18 namespace media { |
20 namespace cast { | 19 namespace cast { |
21 | 20 |
22 class Framer; | 21 class Framer; |
23 class RtpPayloadFeedback; | 22 class RtpPayloadFeedback; |
24 | 23 |
25 typedef std::map<uint32_t, base::TimeTicks> TimeLastNackMap; | 24 typedef std::map<uint32_t, base::TimeTicks> TimeLastNackMap; |
26 | 25 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 uint32_t last_acked_frame_id_; | 62 uint32_t last_acked_frame_id_; |
64 std::deque<uint32_t> ack_queue_; | 63 std::deque<uint32_t> ack_queue_; |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); | 65 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace cast | 68 } // namespace cast |
70 } // namespace media | 69 } // namespace media |
71 | 70 |
72 #endif // MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ | 71 #endif // MEDIA_CAST_NET_RTP_CAST_MESSAGE_BUILDER_H_ |
OLD | NEW |