aboutsummaryrefslogtreecommitdiff
path: root/api/peer_connection_interface.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@webrtc.org>2022-06-20 15:33:59 +0200
committerWebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-21 07:54:18 +0000
commitdcb5a5814e7fb30dbce9ef928db984f1b5aabc09 (patch)
treece93f806cb7bee3301c207c8d6718930af87c4cf /api/peer_connection_interface.h
parent2b46a5870b46d6d093deecdedc899744ae89f2cf (diff)
downloadwebrtc-dcb5a5814e7fb30dbce9ef928db984f1b5aabc09.tar.gz
Add NetworkManager to PeerConnectionFactoryDependencies
Bug: webrtc:7447 Change-Id: I5abe1c4a15b52e9f15bb3ccbf1919c88000c9828 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266361 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37284}
Diffstat (limited to 'api/peer_connection_interface.h')
-rw-r--r--api/peer_connection_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h
index e5bbd9c41c..7d944f284d 100644
--- a/api/peer_connection_interface.h
+++ b/api/peer_connection_interface.h
@@ -1433,6 +1433,9 @@ struct RTC_EXPORT PeerConnectionFactoryDependencies final {
// This will only be used if CreatePeerConnection is called without a
// `port_allocator`, causing the default allocator and network manager to be
// used.
+ std::unique_ptr<rtc::NetworkManager> network_manager;
+ // This will only be used if CreatePeerConnection is called without a
+ // `port_allocator`, and the above `network_manager' is null.
std::unique_ptr<rtc::NetworkMonitorFactory> network_monitor_factory;
std::unique_ptr<NetEqFactory> neteq_factory;
std::unique_ptr<SctpTransportFactoryInterface> sctp_factory;