| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 PortAllocatorSession* CreateSessionInternal( | 56 PortAllocatorSession* CreateSessionInternal( |
| 57 const std::string& content_name, | 57 const std::string& content_name, |
| 58 int component, | 58 int component, |
| 59 const std::string& ice_ufrag, | 59 const std::string& ice_ufrag, |
| 60 const std::string& ice_pwd) override; | 60 const std::string& ice_pwd) override; |
| 61 | 61 |
| 62 // Convenience method that adds a TURN server to the configuration. | 62 // Convenience method that adds a TURN server to the configuration. |
| 63 void AddTurnServer(const RelayServerConfig& turn_server); | 63 void AddTurnServer(const RelayServerConfig& turn_server); |
| 64 | 64 |
| 65 void ReportIceRegatheringReason(IceRegatheringReason reason) override; |
| 66 |
| 65 private: | 67 private: |
| 66 void Construct(); | 68 void Construct(); |
| 67 | 69 |
| 68 rtc::NetworkManager* network_manager_; | 70 rtc::NetworkManager* network_manager_; |
| 69 rtc::PacketSocketFactory* socket_factory_; | 71 rtc::PacketSocketFactory* socket_factory_; |
| 70 bool allow_tcp_listen_; | 72 bool allow_tcp_listen_; |
| 71 int network_ignore_mask_ = rtc::kDefaultNetworkIgnoreMask; | 73 int network_ignore_mask_ = rtc::kDefaultNetworkIgnoreMask; |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 struct PortConfiguration; | 76 struct PortConfiguration; |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 std::unique_ptr<rtc::AsyncPacketSocket> udp_socket_; | 367 std::unique_ptr<rtc::AsyncPacketSocket> udp_socket_; |
| 366 // There will be only one udp port per AllocationSequence. | 368 // There will be only one udp port per AllocationSequence. |
| 367 UDPPort* udp_port_; | 369 UDPPort* udp_port_; |
| 368 std::vector<TurnPort*> turn_ports_; | 370 std::vector<TurnPort*> turn_ports_; |
| 369 int phase_; | 371 int phase_; |
| 370 }; | 372 }; |
| 371 | 373 |
| 372 } // namespace cricket | 374 } // namespace cricket |
| 373 | 375 |
| 374 #endif // WEBRTC_P2P_CLIENT_BASICPORTALLOCATOR_H_ | 376 #endif // WEBRTC_P2P_CLIENT_BASICPORTALLOCATOR_H_ |
| OLD | NEW |