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_PARSER_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_RTP_PARSER_H_ |
6 #define MEDIA_CAST_NET_RTP_RTP_PARSER_H_ | 6 #define MEDIA_CAST_NET_RTP_RTP_PARSER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "media/cast/net/cast_transport_defines.h" | 9 #include "media/cast/net/cast_transport_defines.h" |
9 #include "media/cast/net/rtp/rtp_defines.h" | 10 #include "media/cast/net/rtp/rtp_defines.h" |
10 | 11 |
11 namespace media { | 12 namespace media { |
12 namespace cast { | 13 namespace cast { |
13 | 14 |
14 // TODO(miu): RtpParser and RtpPacketizer should be consolidated into a single | 15 // TODO(miu): RtpParser and RtpPacketizer should be consolidated into a single |
15 // module that handles all RTP/Cast packet serialization and deserialization | 16 // module that handles all RTP/Cast packet serialization and deserialization |
16 // throughout the media/cast library. | 17 // throughout the media/cast library. |
17 class RtpParser { | 18 class RtpParser { |
(...skipping 22 matching lines...) Expand all Loading... |
40 const uint8_t expected_payload_type_; | 41 const uint8_t expected_payload_type_; |
41 FrameIdWrapHelper frame_id_wrap_helper_; | 42 FrameIdWrapHelper frame_id_wrap_helper_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(RtpParser); | 44 DISALLOW_COPY_AND_ASSIGN(RtpParser); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace cast | 47 } // namespace cast |
47 } // namespace media | 48 } // namespace media |
48 | 49 |
49 #endif // MEDIA_CAST_NET_RTP_RTP_PARSER_H_ | 50 #endif // MEDIA_CAST_NET_RTP_RTP_PARSER_H_ |
OLD | NEW |