Allows injection of network controller factory into peer connection factory.
Bug: webrtc:9155
Change-Id: I0a17024042f154297aba20f5d2dc766feb27f3f7
Reviewed-on: https://webrtc-review.googlesource.com/73123
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23313}
diff --git a/call/call_config.h b/call/call_config.h
index 421b524..927ad75 100644
--- a/call/call_config.h
+++ b/call/call_config.h
@@ -12,6 +12,7 @@
#include "api/fec_controller.h"
#include "api/rtcerror.h"
+#include "api/transport/network_control.h"
#include "call/audio_state.h"
#include "call/bitrate_constraints.h"
#include "rtc_base/platform_file.h"
@@ -45,6 +46,9 @@
// FecController to use for this call.
FecControllerFactoryInterface* fec_controller_factory = nullptr;
+
+ // Network controller factory to use for this call.
+ NetworkControllerFactoryInterface* network_controller_factory = nullptr;
};
} // namespace webrtc