Home
last modified time | relevance | path

Searched refs:turn_server (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/p2p/base/
Dregathering_controller_unittest.cc67 cricket::RelayServerConfig turn_server; in InitializeAndGatherOnce() local
68 turn_server.credentials = kRelayCredentials; in InitializeAndGatherOnce()
69 turn_server.ports.push_back( in InitializeAndGatherOnce()
71 std::vector<cricket::RelayServerConfig> turn_servers(1, turn_server); in InitializeAndGatherOnce()
Dp2p_transport_channel_unittest.cc159 cricket::RelayServerConfig turn_server; in CreateBasicPortAllocator() local
160 turn_server.credentials = kRelayCredentials; in CreateBasicPortAllocator()
162 turn_server.ports.push_back( in CreateBasicPortAllocator()
166 turn_server.ports.push_back( in CreateBasicPortAllocator()
169 std::vector<cricket::RelayServerConfig> turn_servers(1, turn_server); in CreateBasicPortAllocator()
2510 RelayServerConfig turn_server; in TEST_F() local
2511 turn_server.credentials = kRelayCredentials; in TEST_F()
2512 turn_server.ports.push_back(ProtocolAddress(kTurnTcpIntAddr, PROTO_TCP)); in TEST_F()
2513 GetAllocator(0)->AddTurnServer(turn_server); in TEST_F()
2514 GetAllocator(1)->AddTurnServer(turn_server); in TEST_F()
[all …]
/external/webrtc/examples/unityplugin/
Dsimple_peer_connection.cc170 webrtc::PeerConnectionInterface::IceServer turn_server; in CreatePeerConnection() local
174 turn_server.urls.push_back(turn_urls[i]); in CreatePeerConnection()
179 turn_server.username = username; in CreatePeerConnection()
183 turn_server.password = credential; in CreatePeerConnection()
185 config_.servers.push_back(turn_server); in CreatePeerConnection()
/external/webrtc/pc/
Dice_server_parsing.cc298 for (cricket::RelayServerConfig& turn_server : *turn_servers) { in ParseIceServers()
300 turn_server.priority = priority--; in ParseIceServers()
Dpeer_connection_rampup_tests.cc236 std::unique_ptr<cricket::TestTurnServer> turn_server = in CreateTurnServer() local
248 turn_servers_.push_back(std::move(turn_server)); in CreateTurnServer()
Dpeer_connection.cc1168 for (cricket::RelayServerConfig& turn_server : turn_servers) { in Initialize()
1169 turn_server.turn_logging_id = configuration.turn_logging_id; in Initialize()
3948 for (cricket::RelayServerConfig& turn_server : turn_servers) { in SetConfiguration()
3949 turn_server.turn_logging_id = configuration.turn_logging_id; in SetConfiguration()
5700 for (auto& turn_server : turn_servers_copy) { in InitializePortAllocator_n() local
5701 turn_server.tls_cert_verifier = tls_cert_verifier_.get(); in InitializePortAllocator_n()
5735 for (auto& turn_server : turn_servers_copy) { in ReconfigurePortAllocator_n() local
5736 turn_server.tls_cert_verifier = tls_cert_verifier_.get(); in ReconfigurePortAllocator_n()
Dpeer_connection_integrationtest.cc1447 std::unique_ptr<cricket::TestTurnServer> turn_server = in CreateTurnServer() local
1455 turn_servers_.push_back(std::move(turn_server)); in CreateTurnServer()
/external/webrtc/p2p/client/
Dbasic_port_allocator_unittest.cc220 RelayServerConfig turn_server; in CreateTurnServers() local
222 turn_server.credentials = credentials; in CreateTurnServers()
225 turn_server.ports.push_back(ProtocolAddress(udp_turn, PROTO_UDP)); in CreateTurnServers()
228 turn_server.ports.push_back(ProtocolAddress(tcp_turn, PROTO_TCP)); in CreateTurnServers()
230 return turn_server; in CreateTurnServers()
235 RelayServerConfig turn_server = CreateTurnServers(udp_turn, tcp_turn); in AddTurnServers() local
236 allocator_->AddTurnServer(turn_server); in AddTurnServers()
1774 RelayServerConfig turn_server; in TEST_F() local
1776 turn_server.credentials = credentials; in TEST_F()
1777 turn_server.ports.push_back( in TEST_F()
[all …]
Dbasic_port_allocator.cc234 void BasicPortAllocator::AddTurnServer(const RelayServerConfig& turn_server) { in AddTurnServer() argument
237 new_turn_servers.push_back(turn_server); in AddTurnServer()
613 for (const RelayServerConfig& turn_server : allocator_->turn_servers()) { in GetPortConfigurations() local
614 config->AddRelay(turn_server); in GetPortConfigurations()
1672 for (const rtc::SocketAddress& turn_server : turn_servers) { in StunServers() local
1673 if (stun_servers.find(turn_server) == stun_servers.end()) { in StunServers()
1674 stun_servers.insert(turn_server); in StunServers()
Dbasic_port_allocator.h71 void AddTurnServer(const RelayServerConfig& turn_server);
/external/webrtc/p2p/
DBUILD.gn245 "base/turn_server.cc",
246 "base/turn_server.h",