| 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 #ifndef MEDIA_CAST_NET_RTP_RTP_DEFINES_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_RTP_DEFINES_H_ |
| 6 #define MEDIA_CAST_NET_RTP_RTP_DEFINES_H_ | 6 #define MEDIA_CAST_NET_RTP_RTP_DEFINES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "media/cast/net/rtcp/rtcp_defines.h" | 10 #include "media/cast/net/rtcp/rtcp_defines.h" |
| 9 | 11 |
| 10 namespace media { | 12 namespace media { |
| 11 namespace cast { | 13 namespace cast { |
| 12 | 14 |
| 13 static const uint16_t kRtpHeaderLength = 12; | 15 static const uint16_t kRtpHeaderLength = 12; |
| 14 static const uint16_t kCastHeaderLength = 7; | 16 static const uint16_t kCastHeaderLength = 7; |
| 15 | 17 |
| 16 // RTP Header | 18 // RTP Header |
| 17 static const uint8_t kRtpExtensionBitMask = 0x10; | 19 static const uint8_t kRtpExtensionBitMask = 0x10; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0; | 54 virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0; |
| 53 | 55 |
| 54 protected: | 56 protected: |
| 55 virtual ~RtpPayloadFeedback(); | 57 virtual ~RtpPayloadFeedback(); |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 } // namespace cast | 60 } // namespace cast |
| 59 } // namespace media | 61 } // namespace media |
| 60 | 62 |
| 61 #endif // MEDIA_CAST_NET_RTP_RTP_DEFINES_H_ | 63 #endif // MEDIA_CAST_NET_RTP_RTP_DEFINES_H_ |
| OLD | NEW |