Chromium Code Reviews| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 280 const bool audio_configured_; | 276 const bool audio_configured_; |
| 281 const std::unique_ptr<RTPSenderAudio> audio_; | 277 const std::unique_ptr<RTPSenderAudio> audio_; |
| 282 const std::unique_ptr<RTPSenderVideo> video_; | 278 const std::unique_ptr<RTPSenderVideo> video_; |
| 283 | 279 |
| 284 RtpPacketSender* const paced_sender_; | 280 RtpPacketSender* const paced_sender_; |
| 285 TransportSequenceNumberAllocator* const transport_sequence_number_allocator_; | 281 TransportSequenceNumberAllocator* const transport_sequence_number_allocator_; |
| 286 TransportFeedbackObserver* const transport_feedback_observer_; | 282 TransportFeedbackObserver* const transport_feedback_observer_; |
| 287 int64_t last_capture_time_ms_sent_; | 283 int64_t last_capture_time_ms_sent_; |
| 288 rtc::CriticalSection send_critsect_; | 284 rtc::CriticalSection send_critsect_; |
| 289 | 285 |
| 290 Transport *transport_; | 286 Transport* transport_; |
|
brandtr
2016/10/26 13:57:04
Lint fix.
| |
| 291 bool sending_media_ GUARDED_BY(send_critsect_); | 287 bool sending_media_ GUARDED_BY(send_critsect_); |
| 292 | 288 |
| 293 size_t max_payload_length_; | 289 size_t max_payload_length_; |
| 294 | 290 |
| 295 int8_t payload_type_ GUARDED_BY(send_critsect_); | 291 int8_t payload_type_ GUARDED_BY(send_critsect_); |
| 296 std::map<int8_t, RtpUtility::Payload*> payload_type_map_; | 292 std::map<int8_t, RtpUtility::Payload*> payload_type_map_; |
| 297 | 293 |
| 298 RtpHeaderExtensionMap rtp_header_extension_map_ GUARDED_BY(send_critsect_); | 294 RtpHeaderExtensionMap rtp_header_extension_map_ GUARDED_BY(send_critsect_); |
| 299 bool video_rotation_active_; | 295 bool video_rotation_active_; |
| 300 | 296 |
| (...skipping 41 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_); | 338 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); |
| 343 | 339 |
| 344 RateLimiter* const retransmission_rate_limiter_; | 340 RateLimiter* const retransmission_rate_limiter_; |
| 345 | 341 |
| 346 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 342 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
| 347 }; | 343 }; |
| 348 | 344 |
| 349 } // namespace webrtc | 345 } // namespace webrtc |
| 350 | 346 |
| 351 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 347 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
| OLD | NEW |