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_UTILITY_H_ | 5 #ifndef MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
6 #define MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 6 #define MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
7 | 7 |
8 #include "media/cast/cast_config.h" | 8 #include "media/cast/cast_config.h" |
9 #include "media/cast/cast_defines.h" | 9 #include "media/cast/cast_defines.h" |
10 #include "media/cast/logging/logging_defines.h" | 10 #include "media/cast/logging/logging_defines.h" |
11 #include "media/cast/rtcp/rtcp_defines.h" | 11 #include "media/cast/net/rtcp/rtcp_defines.h" |
12 | 12 |
13 namespace media { | 13 namespace media { |
14 namespace cast { | 14 namespace cast { |
15 | 15 |
16 static const int kRtcpRpsiDataSize = 30; | 16 static const int kRtcpRpsiDataSize = 30; |
17 | 17 |
18 // RFC 3550 page 44, including end null. | 18 // RFC 3550 page 44, including end null. |
19 static const size_t kRtcpCnameSize = 256; | 19 static const size_t kRtcpCnameSize = 256; |
20 static const int kRtcpMaxNumberOfRembFeedbackSsrcs = 255; | 20 static const int kRtcpMaxNumberOfRembFeedbackSsrcs = 255; |
21 | 21 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // wire. Therefore, this function can only return values from 0 to 15. | 337 // wire. Therefore, this function can only return values from 0 to 15. |
338 uint8 ConvertEventTypeToWireFormat(CastLoggingEvent event); | 338 uint8 ConvertEventTypeToWireFormat(CastLoggingEvent event); |
339 | 339 |
340 // The inverse of |ConvertEventTypeToWireFormat()|. | 340 // The inverse of |ConvertEventTypeToWireFormat()|. |
341 CastLoggingEvent TranslateToLogEventFromWireFormat(uint8 event); | 341 CastLoggingEvent TranslateToLogEventFromWireFormat(uint8 event); |
342 | 342 |
343 } // namespace cast | 343 } // namespace cast |
344 } // namespace media | 344 } // namespace media |
345 | 345 |
346 #endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 346 #endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
OLD | NEW |