mirror of
https://github.com/pion/ice.git
synced 2025-10-23 15:33:13 +08:00
Revert active TCP candidate support
This reverts commit00bbd2954c
and1d502ca6ec
This commit is contained in:
@@ -675,7 +675,7 @@ func TestMultiUDPMuxUsage(t *testing.T) {
|
||||
}
|
||||
|
||||
a, err := NewAgent(&AgentConfig{
|
||||
NetworkTypes: []NetworkType{NetworkTypeUDP4, NetworkTypeUDP6},
|
||||
NetworkTypes: supportedNetworkTypes(),
|
||||
CandidateTypes: []CandidateType{CandidateTypeHost},
|
||||
UDPMux: NewMultiUDPMuxDefault(udpMuxInstances...),
|
||||
})
|
||||
@@ -751,8 +751,7 @@ func TestMultiTCPMuxUsage(t *testing.T) {
|
||||
|
||||
portFound := make(map[int]bool)
|
||||
for c := range candidateCh {
|
||||
activeCandidate := c.Port() == 0
|
||||
if c.NetworkType().IsTCP() && !activeCandidate {
|
||||
if c.NetworkType().IsTCP() {
|
||||
portFound[c.Port()] = true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user