Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dp2ptransportchannel.cc151 bool ShouldSwitch(cricket::Connection* a_conn, in ShouldSwitch() argument
154 if (a_conn == b_conn) in ShouldSwitch()
157 if (!a_conn || !b_conn) // don't think the latter should happen in ShouldSwitch()
163 int state_cmp = CompareConnectionStates(a_conn, b_conn); in ShouldSwitch()
167 if (ice_role == cricket::ICEROLE_CONTROLLED && a_conn->nominated()) { in ShouldSwitch()
172 int prefs_cmp = CompareConnectionCandidates(a_conn, b_conn); in ShouldSwitch()
177 return b_conn->rtt() <= a_conn->rtt() + kMinImprovement; in ShouldSwitch()