Home
last modified time | relevance | path

Searched refs:RelayServerConfig (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/p2p/base/
Dport_allocator.cc23 RelayServerConfig::RelayServerConfig() {} in RelayServerConfig() function in cricket::RelayServerConfig
25 RelayServerConfig::RelayServerConfig(const rtc::SocketAddress& address, in RelayServerConfig() function in cricket::RelayServerConfig
33 RelayServerConfig::RelayServerConfig(const std::string& address, in RelayServerConfig() function in cricket::RelayServerConfig
38 : RelayServerConfig(rtc::SocketAddress(address, port), in RelayServerConfig()
44 RelayServerConfig::RelayServerConfig(const std::string& address, in RelayServerConfig() function in cricket::RelayServerConfig
50 : RelayServerConfig(address, in RelayServerConfig()
56 RelayServerConfig::RelayServerConfig(const RelayServerConfig&) = default;
58 RelayServerConfig::~RelayServerConfig() = default;
122 const std::vector<RelayServerConfig>& turn_servers, in SetConfiguration()
136 const std::vector<RelayServerConfig>& turn_servers, in SetConfiguration()
Dport_allocator.h151 struct RTC_EXPORT RelayServerConfig { struct
152 RelayServerConfig();
153 RelayServerConfig(const rtc::SocketAddress& address,
157 RelayServerConfig(const std::string& address,
163 RelayServerConfig(const std::string& address,
169 RelayServerConfig(const RelayServerConfig&);
170 ~RelayServerConfig();
172 bool operator==(const RelayServerConfig& o) const {
176 bool operator!=(const RelayServerConfig& o) const { return !(*this == o); }
363 const std::vector<RelayServerConfig>& turn_servers,
[all …]
Dport_allocator_unittest.cc39 cricket::ServerAddresses(), std::vector<cricket::RelayServerConfig>(), in SetConfigurationWithPoolSize()
45 cricket::ServerAddresses(), std::vector<cricket::RelayServerConfig>(), in SetConfigurationWithPoolSizeExpectFailure()
86 cricket::RelayServerConfig turn_server_1{"11.11.11.11", 3478,
89 cricket::RelayServerConfig turn_server_2{"22.22.22.22", 3478,
116 std::vector<cricket::RelayServerConfig> turn_servers_1 = {turn_server_1}; in TEST_F()
124 std::vector<cricket::RelayServerConfig> turn_servers_2 = {turn_server_2}; in TEST_F()
181 std::vector<cricket::RelayServerConfig> turn_servers_1 = {turn_server_1}; in TEST_F()
189 std::vector<cricket::RelayServerConfig> turn_servers_2 = {turn_server_2}; in TEST_F()
211 std::vector<cricket::RelayServerConfig> turn_servers_1 = {turn_server_1}; in TEST_F()
220 std::vector<cricket::RelayServerConfig> turn_servers_2 = {turn_server_2}; in TEST_F()
Dregathering_controller_unittest.cc67 cricket::RelayServerConfig turn_server; in InitializeAndGatherOnce()
71 std::vector<cricket::RelayServerConfig> turn_servers(1, turn_server); in InitializeAndGatherOnce()
Dfake_port_allocator.h152 const std::vector<RelayServerConfig>& turn_servers() const { in turn_servers()
204 std::vector<RelayServerConfig> turn_servers_;
Dp2p_transport_channel_unittest.cc159 cricket::RelayServerConfig turn_server; in CreateBasicPortAllocator()
169 std::vector<cricket::RelayServerConfig> turn_servers(1, turn_server); in CreateBasicPortAllocator()
2510 RelayServerConfig turn_server; in TEST_F()
4714 RelayServerConfig config; in TEST_F()
/external/webrtc/pc/
Dpeer_connection_factory_unittest.cc132 void VerifyTurnServers(std::vector<cricket::RelayServerConfig> turn_servers) { in VerifyTurnServers()
293 std::vector<cricket::RelayServerConfig> turn_servers; in TEST_F()
294 cricket::RelayServerConfig turn1("test.com", 1234, kTurnUsername, in TEST_F()
297 cricket::RelayServerConfig turn2("hello.com", kDefaultStunPort, kTurnUsername, in TEST_F()
324 std::vector<cricket::RelayServerConfig> turn_servers; in TEST_F()
325 cricket::RelayServerConfig turn1("test.com", 1234, kTurnUsername, in TEST_F()
328 cricket::RelayServerConfig turn2("hello.com", kDefaultStunPort, kTurnUsername, in TEST_F()
349 std::vector<cricket::RelayServerConfig> turn_servers; in TEST_F()
350 cricket::RelayServerConfig turn("test.com", 1234, kTurnUsername, in TEST_F()
371 std::vector<cricket::RelayServerConfig> turn_servers; in TEST_F()
[all …]
Dice_server_parsing.cc135 std::vector<cricket::RelayServerConfig>* turn_servers) { in ParseIceServerUrl()
243 cricket::RelayServerConfig config = in ParseIceServerUrl()
244 cricket::RelayServerConfig(socket_address, server.username, in ParseIceServerUrl()
269 std::vector<cricket::RelayServerConfig>* turn_servers) { in ParseIceServers()
298 for (cricket::RelayServerConfig& turn_server : *turn_servers) { in ParseIceServers()
Dice_server_parsing.h33 std::vector<cricket::RelayServerConfig>* turn_servers);
Dice_server_parsing_unittest.cc71 std::vector<cricket::RelayServerConfig> turn_servers_;
Dpeer_connection.h847 const std::vector<cricket::RelayServerConfig>& turn_servers,
853 const std::vector<cricket::RelayServerConfig>& turn_servers,
Dpeer_connection.cc1159 std::vector<cricket::RelayServerConfig> turn_servers; in Initialize()
1168 for (cricket::RelayServerConfig& turn_server : turn_servers) { in Initialize()
3941 std::vector<cricket::RelayServerConfig> turn_servers; in SetConfiguration()
3948 for (cricket::RelayServerConfig& turn_server : turn_servers) { in SetConfiguration()
5650 const std::vector<cricket::RelayServerConfig>& turn_servers, in InitializePortAllocator_n()
5718 const std::vector<cricket::RelayServerConfig>& turn_servers, in ReconfigurePortAllocator_n()
/external/webrtc/p2p/client/
Drelay_port_factory_interface.h34 struct RelayServerConfig;
43 const RelayServerConfig* config;
Dbasic_port_allocator.h71 void AddTurnServer(const RelayServerConfig& turn_server);
291 typedef std::vector<RelayServerConfig> RelayList;
310 void AddRelay(const RelayServerConfig& config);
313 bool SupportsProtocol(const RelayServerConfig& relay,
376 void CreateTurnPort(const RelayServerConfig& config);
Dbasic_port_allocator.cc164 SetConfiguration(ServerAddresses(), std::vector<RelayServerConfig>(), 0, in BasicPortAllocator()
187 SetConfiguration(stun_servers, std::vector<RelayServerConfig>(), 0, in BasicPortAllocator()
234 void BasicPortAllocator::AddTurnServer(const RelayServerConfig& turn_server) { in AddTurnServer()
236 std::vector<RelayServerConfig> new_turn_servers = turn_servers(); in AddTurnServer()
613 for (const RelayServerConfig& turn_server : allocator_->turn_servers()) { in GetPortConfigurations()
1507 for (RelayServerConfig& relay : config_->relays) { in CreateRelayPorts()
1512 void AllocationSequence::CreateTurnPort(const RelayServerConfig& config) { in CreateTurnPort()
1680 void PortConfiguration::AddRelay(const RelayServerConfig& config) { in AddRelay()
1684 bool PortConfiguration::SupportsProtocol(const RelayServerConfig& relay, in SupportsProtocol()
Dbasic_port_allocator_unittest.cc218 RelayServerConfig CreateTurnServers(const rtc::SocketAddress& udp_turn, in CreateTurnServers()
220 RelayServerConfig turn_server; in CreateTurnServers()
235 RelayServerConfig turn_server = CreateTurnServers(udp_turn, tcp_turn); in AddTurnServers()
454 RelayServerConfig server_config = allocator_->turn_servers()[i]; in HasRelayAddress()
1774 RelayServerConfig turn_server; in TEST_F()
2436 RelayServerConfig turn_servers = in TEST_F()
2450 RelayServerConfig turn_servers = in TEST_F()