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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // Video part. 270 // Video part.
271 271
272 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; 272 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override;
273 273
274 // Set method for requesting a new key frame. 274 // Set method for requesting a new key frame.
275 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; 275 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override;
276 276
277 // Send a request for a keyframe. 277 // Send a request for a keyframe.
278 int32_t RequestKeyFrame() override; 278 int32_t RequestKeyFrame() override;
279 279
280 void SetUlpfecConfig(bool enabled, 280 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type) override;
281 int red_payload_type,
282 int ulpfec_payload_type) override;
283 281
284 int32_t SetFecParameters(const FecProtectionParams* delta_params, 282 int32_t SetFecParameters(const FecProtectionParams* delta_params,
285 const FecProtectionParams* key_params) override; 283 const FecProtectionParams* key_params) override;
286 284
287 bool LastReceivedNTP(uint32_t* NTPsecs, 285 bool LastReceivedNTP(uint32_t* NTPsecs,
288 uint32_t* NTPfrac, 286 uint32_t* NTPfrac,
289 uint32_t* remote_sr) const; 287 uint32_t* remote_sr) const;
290 288
291 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner); 289 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner);
292 290
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 PacketLossStats receive_loss_stats_; 350 PacketLossStats receive_loss_stats_;
353 351
354 // The processed RTT from RtcpRttStats. 352 // The processed RTT from RtcpRttStats.
355 rtc::CriticalSection critical_section_rtt_; 353 rtc::CriticalSection critical_section_rtt_;
356 int64_t rtt_ms_; 354 int64_t rtt_ms_;
357 }; 355 };
358 356
359 } // namespace webrtc 357 } // namespace webrtc
360 358
361 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 359 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698