Chromium Code Reviews

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 2455963003: Simplify SetFecParameters signature. (Closed)
Patch Set: Feedback response 1. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/rtp_rtcp/source/rtp_sender.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender.h b/webrtc/modules/rtp_rtcp/source/rtp_sender.h
index dafddc59f163fc1f29d59ea92399cf06b319edf1..c589d0bbbe30548e9094a1c82c53072d1a819347 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender.h
@@ -186,8 +186,8 @@ class RTPSender {
// ULPFEC.
void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type);
- int32_t SetFecParameters(const FecProtectionParams *delta_params,
- const FecProtectionParams *key_params);
+ bool SetFecParameters(const FecProtectionParams& delta_params,
+ const FecProtectionParams& key_params);
RTC_DEPRECATED
size_t SendPadData(size_t bytes,

Powered by Google App Engine