Searched refs:turn_servers (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/talk/app/webrtc/ |
D | peerconnectionfactory_unittest.cc | 124 void VerifyTurnServers(std::vector<cricket::RelayServerConfig> turn_servers) { in VerifyTurnServers() argument 125 EXPECT_EQ(turn_servers.size(), raw_port_allocator_->turn_servers().size()); in VerifyTurnServers() 126 for (size_t i = 0; i < turn_servers.size(); ++i) { in VerifyTurnServers() 127 ASSERT_EQ(1u, turn_servers[i].ports.size()); in VerifyTurnServers() 128 EXPECT_EQ(1u, raw_port_allocator_->turn_servers()[i].ports.size()); in VerifyTurnServers() 130 turn_servers[i].ports[0].address.ToString(), in VerifyTurnServers() 131 raw_port_allocator_->turn_servers()[i].ports[0].address.ToString()); in VerifyTurnServers() 132 EXPECT_EQ(turn_servers[i].ports[0].proto, in VerifyTurnServers() 133 raw_port_allocator_->turn_servers()[i].ports[0].proto); in VerifyTurnServers() 134 EXPECT_EQ(turn_servers[i].credentials.username, in VerifyTurnServers() [all …]
|
D | peerconnection.cc | 223 std::vector<cricket::RelayServerConfig>* turn_servers) { in ParseIceServerUrl() argument 239 RTC_DCHECK(turn_servers != nullptr); in ParseIceServerUrl() 318 turn_servers->push_back( in ParseIceServerUrl() 532 std::vector<cricket::RelayServerConfig>* turn_servers) { in ParseIceServers() argument 540 if (!ParseIceServerUrl(server, url, stun_servers, turn_servers)) { in ParseIceServers() 546 if (!ParseIceServerUrl(server, server.uri, stun_servers, turn_servers)) { in ParseIceServers() 556 int priority = static_cast<int>(turn_servers->size() - 1); in ParseIceServers() 557 for (cricket::RelayServerConfig& turn_server : *turn_servers) { in ParseIceServers() 604 std::vector<cricket::RelayServerConfig> turn_servers; in Initialize() local 605 if (!ParseIceServers(configuration.servers, &stun_servers, &turn_servers)) { in Initialize() [all …]
|
D | peerconnection.h | 63 std::vector<cricket::RelayServerConfig>* turn_servers);
|
D | peerconnectioninterface_unittest.cc | 598 EXPECT_EQ(0u, port_allocator_->turn_servers().size()); in CreatePeerConnectionWithDifferentConfigurations() 609 EXPECT_EQ(1u, port_allocator_->turn_servers().size()); in CreatePeerConnectionWithDifferentConfigurations() 611 port_allocator_->turn_servers()[0].credentials.username); in CreatePeerConnectionWithDifferentConfigurations() 613 port_allocator_->turn_servers()[0].credentials.password); in CreatePeerConnectionWithDifferentConfigurations() 615 port_allocator_->turn_servers()[0].ports[0].address.hostname()); in CreatePeerConnectionWithDifferentConfigurations()
|
/external/webrtc/webrtc/p2p/client/ |
D | fakeportallocator.h | 155 const std::vector<RelayServerConfig>& turn_servers) override { in SetIceServers() argument 157 turn_servers_ = turn_servers; in SetIceServers() 164 const std::vector<RelayServerConfig>& turn_servers() const { in turn_servers() function
|
D | basicportallocator.h | 42 const std::vector<RelayServerConfig>& turn_servers) override { in SetIceServers() argument 44 turn_servers_ = turn_servers; in SetIceServers() 67 const std::vector<RelayServerConfig>& turn_servers() const { in turn_servers() function
|
D | portallocator_unittest.cc | 341 for (size_t i = 0; i < allocator_->turn_servers().size(); ++i) { in HasRelayAddress() 342 cricket::RelayServerConfig server_config = allocator_->turn_servers()[i]; in HasRelayAddress() 395 ASSERT_EQ(1u, allocator().turn_servers().size()); in TEST_F() 396 EXPECT_EQ(cricket::RELAY_GTURN, allocator().turn_servers()[0].type); in TEST_F() 398 EXPECT_TRUE(allocator().turn_servers()[0].credentials.username.empty()); in TEST_F() 399 EXPECT_TRUE(allocator().turn_servers()[0].credentials.password.empty()); in TEST_F()
|
D | basicportallocator.cc | 250 for (const RelayServerConfig& turn_server : allocator_->turn_servers()) { in GetPortConfigurations() 1148 ServerAddresses turn_servers = GetRelayServerAddresses(RELAY_TURN, PROTO_UDP); in StunServers() local 1149 for (const rtc::SocketAddress& turn_server : turn_servers) { in StunServers()
|
/external/webrtc/webrtc/p2p/base/ |
D | portallocator.h | 180 const std::vector<RelayServerConfig>& turn_servers) = 0;
|