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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // ULPFEC. | 186 // ULPFEC. |
187 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type); | 187 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type); |
188 | 188 |
189 int32_t SetFecParameters(const FecProtectionParams *delta_params, | 189 bool SetFecParameters(const FecProtectionParams& delta_params, |
190 const FecProtectionParams *key_params); | 190 const FecProtectionParams& key_params); |
191 | 191 |
192 RTC_DEPRECATED | 192 RTC_DEPRECATED |
193 size_t SendPadData(size_t bytes, | 193 size_t SendPadData(size_t bytes, |
194 bool timestamp_provided, | 194 bool timestamp_provided, |
195 uint32_t timestamp, | 195 uint32_t timestamp, |
196 int64_t capture_time_ms); | 196 int64_t capture_time_ms); |
197 | 197 |
198 // Called on update of RTP statistics. | 198 // Called on update of RTP statistics. |
199 void RegisterRtpStatisticsCallback(StreamDataCountersCallback* callback); | 199 void RegisterRtpStatisticsCallback(StreamDataCountersCallback* callback); |
200 StreamDataCountersCallback* GetRtpStatisticsCallback() const; | 200 StreamDataCountersCallback* GetRtpStatisticsCallback() const; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); | 318 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); |
319 | 319 |
320 RateLimiter* const retransmission_rate_limiter_; | 320 RateLimiter* const retransmission_rate_limiter_; |
321 | 321 |
322 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 322 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
323 }; | 323 }; |
324 | 324 |
325 } // namespace webrtc | 325 } // namespace webrtc |
326 | 326 |
327 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 327 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
OLD | NEW |