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

Unified Diff: webrtc/call/flexfec_receive_stream.h

Issue 2589713003: Make |rtcp_send_transport| mandatory in FlexfecReceiveStream::Config. (Closed)
Patch Set: Rebase. 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..0040eda36a49f2e96c85a3129c6d032db7b26bdf 100644
--- a/webrtc/call/flexfec_receive_stream.h
+++ b/webrtc/call/flexfec_receive_stream.h
@@ -29,8 +29,16 @@ class FlexfecReceiveStream {
};
struct Config {
+ Config() = delete;
philipel 2016/12/20 12:09:18 Default ctors are automatically removed if you imp
brandtr 2016/12/20 12:22:11 Removed.
+ 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;
+
// Payload type for FlexFEC.
int payload_type = -1;

Powered by Google App Engine
This is Rietveld 408576698