| 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 enabled, |
| 188 uint8_t payload_type_red, | 188 int red_payload_type, |
| 189 uint8_t payload_type_fec); | 189 int ulpfec_payload_type); |
| 190 | |
| 191 void GenericFECStatus(bool* enable, | |
| 192 uint8_t* payload_type_red, | |
| 193 uint8_t* payload_type_fec) const; | |
| 194 | 190 |
| 195 int32_t SetFecParameters(const FecProtectionParams *delta_params, | 191 int32_t SetFecParameters(const FecProtectionParams *delta_params, |
| 196 const FecProtectionParams *key_params); | 192 const FecProtectionParams *key_params); |
| 197 | 193 |
| 198 RTC_DEPRECATED | 194 RTC_DEPRECATED |
| 199 size_t SendPadData(size_t bytes, | 195 size_t SendPadData(size_t bytes, |
| 200 bool timestamp_provided, | 196 bool timestamp_provided, |
| 201 uint32_t timestamp, | 197 uint32_t timestamp, |
| 202 int64_t capture_time_ms); | 198 int64_t capture_time_ms); |
| 203 | 199 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 const bool audio_configured_; | 260 const bool audio_configured_; |
| 265 const std::unique_ptr<RTPSenderAudio> audio_; | 261 const std::unique_ptr<RTPSenderAudio> audio_; |
| 266 const std::unique_ptr<RTPSenderVideo> video_; | 262 const std::unique_ptr<RTPSenderVideo> video_; |
| 267 | 263 |
| 268 RtpPacketSender* const paced_sender_; | 264 RtpPacketSender* const paced_sender_; |
| 269 TransportSequenceNumberAllocator* const transport_sequence_number_allocator_; | 265 TransportSequenceNumberAllocator* const transport_sequence_number_allocator_; |
| 270 TransportFeedbackObserver* const transport_feedback_observer_; | 266 TransportFeedbackObserver* const transport_feedback_observer_; |
| 271 int64_t last_capture_time_ms_sent_; | 267 int64_t last_capture_time_ms_sent_; |
| 272 rtc::CriticalSection send_critsect_; | 268 rtc::CriticalSection send_critsect_; |
| 273 | 269 |
| 274 Transport *transport_; | 270 Transport* transport_; |
| 275 bool sending_media_ GUARDED_BY(send_critsect_); | 271 bool sending_media_ GUARDED_BY(send_critsect_); |
| 276 | 272 |
| 277 size_t max_payload_length_; | 273 size_t max_payload_length_; |
| 278 | 274 |
| 279 int8_t payload_type_ GUARDED_BY(send_critsect_); | 275 int8_t payload_type_ GUARDED_BY(send_critsect_); |
| 280 std::map<int8_t, RtpUtility::Payload*> payload_type_map_; | 276 std::map<int8_t, RtpUtility::Payload*> payload_type_map_; |
| 281 | 277 |
| 282 RtpHeaderExtensionMap rtp_header_extension_map_ GUARDED_BY(send_critsect_); | 278 RtpHeaderExtensionMap rtp_header_extension_map_ GUARDED_BY(send_critsect_); |
| 283 | 279 |
| 284 // Tracks the current request for playout delay limits from application | 280 // Tracks the current request for playout delay limits from application |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); | 320 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); |
| 325 | 321 |
| 326 RateLimiter* const retransmission_rate_limiter_; | 322 RateLimiter* const retransmission_rate_limiter_; |
| 327 | 323 |
| 328 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 324 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
| 329 }; | 325 }; |
| 330 | 326 |
| 331 } // namespace webrtc | 327 } // namespace webrtc |
| 332 | 328 |
| 333 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 329 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
| OLD | NEW |