(oldRemote, newRemote Candidate)
| 1223 | } |
| 1224 | |
| 1225 | func (a *Agent) replaceRemoteInLocalCaches(oldRemote, newRemote Candidate) { |
| 1226 | for _, locals := range a.localCandidates { |
| 1227 | for _, local := range locals { |
| 1228 | local.replaceRemoteCandidateCacheValues(oldRemote, newRemote) |
| 1229 | } |
| 1230 | } |
| 1231 | } |
| 1232 | |
| 1233 | // replaceRedundantPeerReflexiveCandidates removes any peer-reflexive candidates |
| 1234 | // from the given set that have the same transport address as cand. |
no test coverage detected