Enable fallback to TCP. (#870)
This commit is contained in:
@@ -1324,12 +1324,11 @@ func (p *ParticipantImpl) handleConnectionFailed(isPrimary bool) {
|
|||||||
} else {
|
} else {
|
||||||
pcTransport.Logger().Infow("short ICE connection", "pair", pair, "duration", duration)
|
pcTransport.Logger().Infow("short ICE connection", "pair", pair, "duration", duration)
|
||||||
}
|
}
|
||||||
/*
|
pcTransport.Logger().Infow("restricting transport to TCP on both peer connections")
|
||||||
p.lock.Lock()
|
p.lock.Lock()
|
||||||
p.iceConfig.PreferSubTcp = true
|
p.iceConfig.PreferSubTcp = true
|
||||||
p.iceConfig.PreferPubTcp = true
|
p.iceConfig.PreferPubTcp = true
|
||||||
p.lock.Unlock()
|
p.lock.Unlock()
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user