ICE-Lite ControlledSelector now validates pairs

Fixes #288
This commit is contained in:
Antoine Baché
2020-10-12 13:08:56 -07:00
committed by Sean DuBois
parent c8afc270b0
commit 0cbd8a80cb
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@ Check out the **[contributing wiki](https://github.com/pion/webrtc/wiki/Contribu
* [Kory Miller](https://github.com/korymiller1489)
* [ZHENK](https://github.com/scorpionknifes)
* [Assad Obaid](https://github.com/assadobaid)
* [Antoine Baché](https://github.com/Antonito)
### License
MIT License - see [LICENSE](LICENSE) for full text
+2
View File
@@ -281,5 +281,7 @@ func (s *liteSelector) ContactCandidates() {
// TODO: implement lite controlling agent. For now falling back to full agent.
// This only happens if both peers are lite. See RFC 8445 S6.1.1 and S6.2
s.pairCandidateSelector.ContactCandidates()
} else if v, ok := s.pairCandidateSelector.(*controlledSelector); ok {
v.agent.validateSelectedPair()
}
}