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

Unified Diff: webrtc/call/flexfec_receive_stream.h

Issue 2589713003: Make |rtcp_send_transport| mandatory in FlexfecReceiveStream::Config. (Closed)
Patch Set: Clarify config setup in VideoQualityTest a bit. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/call/flexfec_receive_stream.h
diff --git a/webrtc/call/flexfec_receive_stream.h b/webrtc/call/flexfec_receive_stream.h
index 20a57f2c150d4e90e919b4f9a6555568e154678f..b724f9055b6f96a135283a746ce78aec47845813 100644
--- a/webrtc/call/flexfec_receive_stream.h
+++ b/webrtc/call/flexfec_receive_stream.h
@@ -29,8 +29,15 @@ class FlexfecReceiveStream {
};
struct Config {
+ explicit Config(Transport* rtcp_send_transport)
+ : rtcp_send_transport(rtcp_send_transport) {}
+
std::string ToString() const;
+ // Returns true if all RTP information is available in order to
+ // enable receiving FlexFEC.
+ bool IsCompleteAndEnabled() const;
stefan-webrtc 2016/12/22 09:14:54 Is this used for anything but tests? If not, I'd p
brandtr 2017/01/03 10:01:05 Yes, it's used here: https://codereview.webrtc.org
+
// Payload type for FlexFEC.
int payload_type = -1;

Powered by Google App Engine
This is Rietveld 408576698