diff options
author | Niels Möller <nisse@webrtc.org> | 2022-06-20 15:33:59 +0200 |
---|---|---|
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-21 07:54:18 +0000 |
commit | dcb5a5814e7fb30dbce9ef928db984f1b5aabc09 (patch) | |
tree | ce93f806cb7bee3301c207c8d6718930af87c4cf /api/peer_connection_interface.h | |
parent | 2b46a5870b46d6d093deecdedc899744ae89f2cf (diff) | |
download | webrtc-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.h | 3 |
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; |