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 // Test helper class that builds rtp packets. | 5 // Test helper class that builds rtp packets. |
6 | 6 |
7 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ | 7 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ |
8 #define MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ | 8 #define MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "media/cast/net/rtp/rtp_defines.h" | 11 #include "media/cast/net/rtp/rtp_defines.h" |
11 | 12 |
12 namespace media { | 13 namespace media { |
13 namespace cast { | 14 namespace cast { |
14 | 15 |
15 // TODO(miu): Consolidate with RtpPacketizer as a single Cast packet | 16 // TODO(miu): Consolidate with RtpPacketizer as a single Cast packet |
16 // serialization implementation. | 17 // serialization implementation. |
17 class RtpPacketBuilder { | 18 class RtpPacketBuilder { |
18 public: | 19 public: |
19 RtpPacketBuilder(); | 20 RtpPacketBuilder(); |
(...skipping 23 matching lines...) Expand all Loading... |
43 void BuildCastHeader(uint8_t* data, uint32_t data_length); | 44 void BuildCastHeader(uint8_t* data, uint32_t data_length); |
44 void BuildCommonHeader(uint8_t* data, uint32_t data_length); | 45 void BuildCommonHeader(uint8_t* data, uint32_t data_length); |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder); | 47 DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace cast | 50 } // namespace cast |
50 } // namespace media | 51 } // namespace media |
51 | 52 |
52 #endif // MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ | 53 #endif // MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_ |
OLD | NEW |