| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 18 matching lines...) Expand all Loading... |
| 29 #include "webrtc/api/rtpsender.h" | 29 #include "webrtc/api/rtpsender.h" |
| 30 #include "webrtc/api/streamcollection.h" | 30 #include "webrtc/api/streamcollection.h" |
| 31 #include "webrtc/api/videocapturertracksource.h" | 31 #include "webrtc/api/videocapturertracksource.h" |
| 32 #include "webrtc/api/videotrack.h" | 32 #include "webrtc/api/videotrack.h" |
| 33 #include "webrtc/base/arraysize.h" | 33 #include "webrtc/base/arraysize.h" |
| 34 #include "webrtc/base/logging.h" | 34 #include "webrtc/base/logging.h" |
| 35 #include "webrtc/base/stringencode.h" | 35 #include "webrtc/base/stringencode.h" |
| 36 #include "webrtc/base/stringutils.h" | 36 #include "webrtc/base/stringutils.h" |
| 37 #include "webrtc/base/trace_event.h" | 37 #include "webrtc/base/trace_event.h" |
| 38 #include "webrtc/media/sctp/sctpdataengine.h" | 38 #include "webrtc/media/sctp/sctpdataengine.h" |
| 39 #include "webrtc/p2p/client/basicportallocator.h" | |
| 40 #include "webrtc/pc/channelmanager.h" | 39 #include "webrtc/pc/channelmanager.h" |
| 41 #include "webrtc/system_wrappers/include/field_trial.h" | 40 #include "webrtc/system_wrappers/include/field_trial.h" |
| 42 | 41 |
| 43 namespace { | 42 namespace { |
| 44 | 43 |
| 45 using webrtc::DataChannel; | 44 using webrtc::DataChannel; |
| 46 using webrtc::MediaConstraintsInterface; | 45 using webrtc::MediaConstraintsInterface; |
| 47 using webrtc::MediaStreamInterface; | 46 using webrtc::MediaStreamInterface; |
| 48 using webrtc::PeerConnectionInterface; | 47 using webrtc::PeerConnectionInterface; |
| 49 using webrtc::RtpSenderInterface; | 48 using webrtc::RtpSenderInterface; |
| (...skipping 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2138 port_allocator_->set_candidate_filter( | 2137 port_allocator_->set_candidate_filter( |
| 2139 ConvertIceTransportTypeToCandidateFilter(configuration.type)); | 2138 ConvertIceTransportTypeToCandidateFilter(configuration.type)); |
| 2140 // Call this last since it may create pooled allocator sessions using the | 2139 // Call this last since it may create pooled allocator sessions using the |
| 2141 // candidate filter set above. | 2140 // candidate filter set above. |
| 2142 port_allocator_->SetConfiguration(stun_servers, turn_servers, | 2141 port_allocator_->SetConfiguration(stun_servers, turn_servers, |
| 2143 configuration.ice_candidate_pool_size); | 2142 configuration.ice_candidate_pool_size); |
| 2144 return true; | 2143 return true; |
| 2145 } | 2144 } |
| 2146 | 2145 |
| 2147 } // namespace webrtc | 2146 } // namespace webrtc |
| OLD | NEW |