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_RTCP_RTCP_DEFINES_H_ | 5 #ifndef MEDIA_CAST_RTCP_RTCP_DEFINES_H_ |
6 #define MEDIA_CAST_RTCP_RTCP_DEFINES_H_ | 6 #define MEDIA_CAST_RTCP_RTCP_DEFINES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "media/cast/cast_config.h" | 11 #include "media/cast/cast_config.h" |
12 #include "media/cast/cast_defines.h" | 12 #include "media/cast/cast_defines.h" |
13 #include "media/cast/logging/logging_defines.h" | 13 #include "media/cast/logging/logging_defines.h" |
14 #include "media/cast/transport/cast_transport_defines.h" | 14 #include "media/cast/net/cast_transport_defines.h" |
15 | 15 |
16 namespace media { | 16 namespace media { |
17 namespace cast { | 17 namespace cast { |
18 | 18 |
19 static const size_t kRtcpCastLogHeaderSize = 12; | 19 static const size_t kRtcpCastLogHeaderSize = 12; |
20 static const size_t kRtcpReceiverFrameLogSize = 8; | 20 static const size_t kRtcpReceiverFrameLogSize = 8; |
21 static const size_t kRtcpReceiverEventLogSize = 4; | 21 static const size_t kRtcpReceiverEventLogSize = 4; |
22 | 22 |
23 // Handle the per frame ACK and NACK messages. | 23 // Handle the per frame ACK and NACK messages. |
24 class RtcpCastMessage { | 24 class RtcpCastMessage { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 base::TimeDelta delay_delta; | 124 base::TimeDelta delay_delta; |
125 | 125 |
126 // Only set for packet events. | 126 // Only set for packet events. |
127 uint16 packet_id; | 127 uint16 packet_id; |
128 }; | 128 }; |
129 | 129 |
130 } // namespace cast | 130 } // namespace cast |
131 } // namespace media | 131 } // namespace media |
132 | 132 |
133 #endif // MEDIA_CAST_RTCP_RTCP_DEFINES_H_ | 133 #endif // MEDIA_CAST_RTCP_RTCP_DEFINES_H_ |
OLD | NEW |