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 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 // Store the audio level in d_bov for | 178 // Store the audio level in d_bov for |
179 // header-extension-for-audio-level-indication. | 179 // header-extension-for-audio-level-indication. |
180 int32_t SetAudioLevel(uint8_t level_d_bov); | 180 int32_t SetAudioLevel(uint8_t level_d_bov); |
181 | 181 |
182 RtpVideoCodecTypes VideoCodecType() const; | 182 RtpVideoCodecTypes VideoCodecType() const; |
183 | 183 |
184 uint32_t MaxConfiguredBitrateVideo() const; | 184 uint32_t MaxConfiguredBitrateVideo() const; |
185 | 185 |
186 // FEC. | 186 // FEC. |
187 void SetGenericFECStatus(bool enable, | 187 void SetUlpfecConfig(bool ulpfec_enabled, |
188 uint8_t payload_type_red, | 188 int red_payload_type, |
189 uint8_t payload_type_fec); | 189 int ulpfec_payload_type); |
190 | 190 |
191 void GenericFECStatus(bool* enable, | 191 void UlpfecConfig(bool* ulpfec_enabled, |
192 uint8_t* payload_type_red, | 192 int* red_payload_type, |
193 uint8_t* payload_type_fec) const; | 193 int* ulpfec_payload_type) const; |
194 | 194 |
195 int32_t SetFecParameters(const FecProtectionParams *delta_params, | 195 int32_t SetFecParameters(const FecProtectionParams *delta_params, |
196 const FecProtectionParams *key_params); | 196 const FecProtectionParams *key_params); |
197 | 197 |
198 RTC_DEPRECATED | 198 RTC_DEPRECATED |
199 size_t SendPadData(size_t bytes, | 199 size_t SendPadData(size_t bytes, |
200 bool timestamp_provided, | 200 bool timestamp_provided, |
201 uint32_t timestamp, | 201 uint32_t timestamp, |
202 int64_t capture_time_ms); | 202 int64_t capture_time_ms); |
203 | 203 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); | 342 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); |
343 | 343 |
344 RateLimiter* const retransmission_rate_limiter_; | 344 RateLimiter* const retransmission_rate_limiter_; |
345 | 345 |
346 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 346 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
347 }; | 347 }; |
348 | 348 |
349 } // namespace webrtc | 349 } // namespace webrtc |
350 | 350 |
351 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 351 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
OLD | NEW |