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 // Handles NACK list and manages ACK. | 5 // Handles NACK list and manages ACK. |
6 | 6 |
7 #ifndef MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 7 #ifndef MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ |
8 #define MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 8 #define MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <map> | 11 #include <map> |
12 | 12 |
13 #include "media/cast/framer/frame_id_map.h" | 13 #include "media/cast/net/rtcp/rtcp.h" |
14 #include "media/cast/rtcp/rtcp.h" | 14 #include "media/cast/net/rtp/frame_id_map.h" |
15 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" | 15 #include "media/cast/net/rtp/rtp_receiver_defines.h" |
16 | 16 |
17 namespace media { | 17 namespace media { |
18 namespace cast { | 18 namespace cast { |
19 | 19 |
20 class RtpPayloadFeedback; | 20 class RtpPayloadFeedback; |
21 | 21 |
22 typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; | 22 typedef std::map<uint32, base::TimeTicks> TimeLastNackMap; |
23 | 23 |
24 class CastMessageBuilder { | 24 class CastMessageBuilder { |
25 public: | 25 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 uint32 last_acked_frame_id_; | 60 uint32 last_acked_frame_id_; |
61 std::deque<uint32> ack_queue_; | 61 std::deque<uint32> ack_queue_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); | 63 DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace cast | 66 } // namespace cast |
67 } // namespace media | 67 } // namespace media |
68 | 68 |
69 #endif // MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ | 69 #endif // MEDIA_CAST_FRAMER_CAST_MESSAGE_BUILDER_H_ |
OLD | NEW |