Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 2460533002: Simplify {,Set}UlpfecConfig interface. (Closed)
Patch Set: git cl format. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 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_);
321 319
322 RateLimiter* const retransmission_rate_limiter_; 320 RateLimiter* const retransmission_rate_limiter_;
323 321
324 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 322 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
325 }; 323 };
326 324
327 } // namespace webrtc 325 } // namespace webrtc
328 326
329 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 327 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698