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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 int32_t SetAudioPacketSize(uint16_t packet_size_samples); | 176 int32_t SetAudioPacketSize(uint16_t packet_size_samples); |
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 // ULPFEC. |
187 void SetUlpfecConfig(bool enabled, | 187 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type); |
188 int red_payload_type, | |
189 int ulpfec_payload_type); | |
190 | 188 |
191 int32_t SetFecParameters(const FecProtectionParams *delta_params, | 189 int32_t SetFecParameters(const FecProtectionParams *delta_params, |
192 const FecProtectionParams *key_params); | 190 const FecProtectionParams *key_params); |
193 | 191 |
194 RTC_DEPRECATED | 192 RTC_DEPRECATED |
195 size_t SendPadData(size_t bytes, | 193 size_t SendPadData(size_t bytes, |
196 bool timestamp_provided, | 194 bool timestamp_provided, |
197 uint32_t timestamp, | 195 uint32_t timestamp, |
198 int64_t capture_time_ms); | 196 int64_t capture_time_ms); |
199 | 197 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); | 336 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); |
339 | 337 |
340 RateLimiter* const retransmission_rate_limiter_; | 338 RateLimiter* const retransmission_rate_limiter_; |
341 | 339 |
342 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 340 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
343 }; | 341 }; |
344 | 342 |
345 } // namespace webrtc | 343 } // namespace webrtc |
346 | 344 |
347 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 345 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
OLD | NEW |