Home
last modified time | relevance | path

Searched refs:selected_connection_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/p2p/base/
Dbasic_ice_controller.cc74 selected_connection_ = selected_connection; in SetSelectedConnection()
128 if (selected_connection_ && selected_connection_->connected() && in FindNextPingableConnection()
129 selected_connection_->writable() && in FindNextPingableConnection()
130 WritableConnectionPastPingInterval(selected_connection_, now)) { in FindNextPingableConnection()
131 return selected_connection_; in FindNextPingableConnection()
322 conn != selected_connection_ && conn->active(); in IsBackupConnection()
389 if (selected_connection_) { in GetBestConnectionByNetwork()
390 best_connection_by_network[selected_connection_->network()] = in GetBestConnectionByNetwork()
391 selected_connection_; in GetBestConnectionByNetwork()
473 if (!ReadyToSend(new_connection) || selected_connection_ == new_connection) { in ShouldSwitchConnection()
[all …]
Dp2p_transport_channel.cc368 if (selected_connection_ != nullptr && in GetRttEstimate()
369 selected_connection_->rtt_samples() > 0) { in GetRttEstimate()
370 return selected_connection_->rtt(); in GetRttEstimate()
379 if (selected_connection_ == nullptr) { in GetSelectedCandidatePair()
384 pair.local = SanitizeLocalCandidate(selected_connection_->local_candidate()); in GetSelectedCandidatePair()
386 SanitizeRemoteCandidate(selected_connection_->remote_candidate()); in GetSelectedCandidatePair()
796 return selected_connection_; in selected_connection()
1125 if (selected_connection_ == conn) { in OnNominated()
1528 if (!ReadyToSend(selected_connection_)) { in SendPacket()
1537 int sent = selected_connection_->Send(data, len, modified_options); in SendPacket()
[all …]
Dbasic_ice_controller.h63 return !selected_connection_ || selected_connection_->weak(); in weak()
154 const Connection* selected_connection_ = nullptr; variable
Dp2p_transport_channel.h148 return selected_connection_; in best_connection()
380 Connection* selected_connection_ RTC_GUARDED_BY(network_thread_) = nullptr;