Suppress negotiation timout log if signal disconnect (#1433)
* Suppress negotiation timout log if signal disconnect * solve comment
This commit is contained in:
@@ -1962,7 +1962,9 @@ func (p *ParticipantImpl) onSubscriptionError(trackID livekit.TrackID) {
|
||||
}
|
||||
|
||||
func (p *ParticipantImpl) onAnyTransportNegotiationFailed() {
|
||||
p.params.Logger.Infow("negotiation failed, starting full reconnect")
|
||||
if p.TransportManager.SinceLastSignal() < negotiationFailedTimeout {
|
||||
p.params.Logger.Infow("negotiation failed, starting full reconnect")
|
||||
}
|
||||
p.IssueFullReconnect(types.ParticipantCloseReasonNegotiateFailed)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user