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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 cricket::IceConfig WebRtcSession::ParseIceConfig( | 1129 cricket::IceConfig WebRtcSession::ParseIceConfig( |
1130 const PeerConnectionInterface::RTCConfiguration& config) const { | 1130 const PeerConnectionInterface::RTCConfiguration& config) const { |
1131 cricket::IceConfig ice_config; | 1131 cricket::IceConfig ice_config; |
1132 ice_config.receiving_timeout = config.ice_connection_receiving_timeout; | 1132 ice_config.receiving_timeout = config.ice_connection_receiving_timeout; |
1133 ice_config.prioritize_most_likely_candidate_pairs = | 1133 ice_config.prioritize_most_likely_candidate_pairs = |
1134 config.prioritize_most_likely_ice_candidate_pairs; | 1134 config.prioritize_most_likely_ice_candidate_pairs; |
1135 ice_config.backup_connection_ping_interval = | 1135 ice_config.backup_connection_ping_interval = |
1136 config.ice_backup_candidate_pair_ping_interval; | 1136 config.ice_backup_candidate_pair_ping_interval; |
1137 ice_config.gather_continually = (config.continual_gathering_policy == | 1137 ice_config.gather_continually = (config.continual_gathering_policy == |
1138 PeerConnectionInterface::GATHER_CONTINUALLY); | 1138 PeerConnectionInterface::GATHER_CONTINUALLY); |
| 1139 ice_config.presume_writable_when_fully_relayed = |
| 1140 config.presume_writable_when_fully_relayed; |
1139 return ice_config; | 1141 return ice_config; |
1140 } | 1142 } |
1141 | 1143 |
1142 void WebRtcSession::SetIceConfig(const cricket::IceConfig& config) { | 1144 void WebRtcSession::SetIceConfig(const cricket::IceConfig& config) { |
1143 transport_controller_->SetIceConfig(config); | 1145 transport_controller_->SetIceConfig(config); |
1144 } | 1146 } |
1145 | 1147 |
1146 void WebRtcSession::MaybeStartGathering() { | 1148 void WebRtcSession::MaybeStartGathering() { |
1147 transport_controller_->MaybeStartGathering(); | 1149 transport_controller_->MaybeStartGathering(); |
1148 } | 1150 } |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1987 ssl_cipher_suite); | 1989 ssl_cipher_suite); |
1988 } | 1990 } |
1989 } | 1991 } |
1990 | 1992 |
1991 void WebRtcSession::OnSentPacket_w(const rtc::SentPacket& sent_packet) { | 1993 void WebRtcSession::OnSentPacket_w(const rtc::SentPacket& sent_packet) { |
1992 RTC_DCHECK(worker_thread()->IsCurrent()); | 1994 RTC_DCHECK(worker_thread()->IsCurrent()); |
1993 media_controller_->call_w()->OnSentPacket(sent_packet); | 1995 media_controller_->call_w()->OnSentPacket(sent_packet); |
1994 } | 1996 } |
1995 | 1997 |
1996 } // namespace webrtc | 1998 } // namespace webrtc |
OLD | NEW |