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 | 10 |
11 #ifndef WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_PAYLOAD_REGISTRY_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_PAYLOAD_REGISTRY_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_PAYLOAD_REGISTRY_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_PAYLOAD_REGISTRY_H_ |
| 13 |
| 14 #pragma message("WARNING: rtp_rtcp/interface is DEPRECATED; use include dir.") |
13 | 15 |
14 #include "webrtc/base/scoped_ptr.h" | 16 #include "webrtc/base/scoped_ptr.h" |
15 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" | 17 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" |
16 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 18 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
17 | 19 |
18 namespace webrtc { | 20 namespace webrtc { |
19 | 21 |
20 // This strategy deals with the audio/video-specific aspects | 22 // This strategy deals with the audio/video-specific aspects |
21 // of payload handling. | 23 // of payload handling. |
22 class RTPPayloadStrategy { | 24 class RTPPayloadStrategy { |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // Mapping rtx_payload_type_map_[rtx] = associated. | 185 // Mapping rtx_payload_type_map_[rtx] = associated. |
184 std::map<int, int> rtx_payload_type_map_; | 186 std::map<int, int> rtx_payload_type_map_; |
185 // When true, use rtx_payload_type_map_ when restoring RTX packets to get the | 187 // When true, use rtx_payload_type_map_ when restoring RTX packets to get the |
186 // correct payload type. | 188 // correct payload type. |
187 bool use_rtx_payload_mapping_on_restore_; | 189 bool use_rtx_payload_mapping_on_restore_; |
188 uint32_t ssrc_rtx_; | 190 uint32_t ssrc_rtx_; |
189 }; | 191 }; |
190 | 192 |
191 } // namespace webrtc | 193 } // namespace webrtc |
192 | 194 |
193 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_PAYLOAD_REGISTRY_H_ | 195 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_PAYLOAD_REGISTRY_H_ |
OLD | NEW |