Chromium Code Reviews| Index: content/renderer/p2p/port_allocator.cc |
| =================================================================== |
| --- content/renderer/p2p/port_allocator.cc (revision 153240) |
| +++ content/renderer/p2p/port_allocator.cc (working copy) |
| @@ -141,7 +141,8 @@ |
| void P2PPortAllocatorSession::GetPortConfigurations() { |
| // Add an empty configuration synchronously, so a local connection |
| // can be started immediately. |
| - ConfigReady(new cricket::PortConfiguration(talk_base::SocketAddress())); |
| + ConfigReady(new cricket::PortConfiguration(talk_base::SocketAddress(), |
| + "", "")); |
| if (stun_server_address_.IsNil()) { |
| ResolveStunServerAddress(); |
| @@ -290,7 +291,7 @@ |
| void P2PPortAllocatorSession::AddConfig() { |
| cricket::PortConfiguration* config = |
| - new cricket::PortConfiguration(stun_server_address_); |
| + new cricket::PortConfiguration(stun_server_address_, "", ""); |
|
Sergey Ulanov
2012/08/24 19:54:33
Are these username and password for the STUN serve
|
| if (relay_ip_.ip() != 0) { |
| cricket::PortConfiguration::PortList ports; |