OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #ifndef WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_HEADER_PARSER_H_ | 10 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_HEADER_PARSER_H_ |
11 #define WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_HEADER_PARSER_H_ | 11 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_HEADER_PARSER_H_ |
12 | 12 |
13 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 13 #pragma message("WARNING: rtp_rtcp/interface is DEPRECATED; use include dir.") |
| 14 |
| 15 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
14 #include "webrtc/typedefs.h" | 16 #include "webrtc/typedefs.h" |
15 | 17 |
16 namespace webrtc { | 18 namespace webrtc { |
17 | 19 |
18 struct RTPHeader; | 20 struct RTPHeader; |
19 | 21 |
20 class RtpHeaderParser { | 22 class RtpHeaderParser { |
21 public: | 23 public: |
22 static RtpHeaderParser* Create(); | 24 static RtpHeaderParser* Create(); |
23 virtual ~RtpHeaderParser() {} | 25 virtual ~RtpHeaderParser() {} |
(...skipping 10 matching lines...) Expand all Loading... |
34 RTPHeader* header) const = 0; | 36 RTPHeader* header) const = 0; |
35 | 37 |
36 // Registers an RTP header extension and binds it to |id|. | 38 // Registers an RTP header extension and binds it to |id|. |
37 virtual bool RegisterRtpHeaderExtension(RTPExtensionType type, | 39 virtual bool RegisterRtpHeaderExtension(RTPExtensionType type, |
38 uint8_t id) = 0; | 40 uint8_t id) = 0; |
39 | 41 |
40 // De-registers an RTP header extension. | 42 // De-registers an RTP header extension. |
41 virtual bool DeregisterRtpHeaderExtension(RTPExtensionType type) = 0; | 43 virtual bool DeregisterRtpHeaderExtension(RTPExtensionType type) = 0; |
42 }; | 44 }; |
43 } // namespace webrtc | 45 } // namespace webrtc |
44 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_HEADER_PARSER_H_ | 46 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_HEADER_PARSER_H_ |
OLD | NEW |