OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 | 10 |
11 #ifndef WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RECEIVER_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RECEIVER_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RECEIVER_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RECEIVER_H_ |
13 | 13 |
14 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 14 #pragma message("WARNING: rtp_rtcp/interface is DEPRECATED; use include dir.") |
| 15 |
| 16 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
15 #include "webrtc/typedefs.h" | 17 #include "webrtc/typedefs.h" |
16 | 18 |
17 namespace webrtc { | 19 namespace webrtc { |
18 | 20 |
19 class RTPPayloadRegistry; | 21 class RTPPayloadRegistry; |
20 | 22 |
21 class TelephoneEventHandler { | 23 class TelephoneEventHandler { |
22 public: | 24 public: |
23 virtual ~TelephoneEventHandler() {} | 25 virtual ~TelephoneEventHandler() {} |
24 | 26 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 virtual uint32_t SSRC() const = 0; | 95 virtual uint32_t SSRC() const = 0; |
94 | 96 |
95 // Returns the current remote CSRCs. | 97 // Returns the current remote CSRCs. |
96 virtual int32_t CSRCs(uint32_t array_of_csrc[kRtpCsrcSize]) const = 0; | 98 virtual int32_t CSRCs(uint32_t array_of_csrc[kRtpCsrcSize]) const = 0; |
97 | 99 |
98 // Returns the current energy of the RTP stream received. | 100 // Returns the current energy of the RTP stream received. |
99 virtual int32_t Energy(uint8_t array_of_energy[kRtpCsrcSize]) const = 0; | 101 virtual int32_t Energy(uint8_t array_of_energy[kRtpCsrcSize]) const = 0; |
100 }; | 102 }; |
101 } // namespace webrtc | 103 } // namespace webrtc |
102 | 104 |
103 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RECEIVER_H_ | 105 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RECEIVER_H_ |
OLD | NEW |