change comment of disable fast negotiation for migration (#3053)

This commit is contained in:
cnderrauber
2024-09-27 15:18:34 +08:00
committed by GitHub
parent 45f23f6fc4
commit 3a77f2c733
+2 -2
View File
@@ -1238,8 +1238,8 @@ func (t *PCTransport) SetPreviousSdp(offer, answer *webrtc.SessionDescription) {
}
}
// disable fast negotiation temporarily after migration to avoid sending offer
// contains part of subscribed tracks before migration (needs some time to resolve them).
// browser might have trouble to handle this kind of offer (To be confirmed).
// contains part of subscribed tracks before migration, let the subscribed track
// resume at the same time.
t.lastNegotiate = time.Now().Add(iceFailedTimeoutTotal)
t.lock.Unlock()
}