mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 13:02:53 +00:00
Add log for dropping out of order reliable message (#3728)
This commit is contained in:
1 parent
1b95e818c9
commit
9ce737db31
1 file changed
+1
@@ -2163,6 +2163,7 @@ func (p *ParticipantImpl) onReceivedDataMessage(kind livekit.DataPacket_Kind, da
|
||||
func (p *ParticipantImpl) handleReceivedDataMessage(kind livekit.DataPacket_Kind, dp *livekit.DataPacket) {
|
||||
if kind == livekit.DataPacket_RELIABLE && dp.Sequence > 0 {
|
||||
if p.reliableDataInfo.lastPubReliableSeq.Load() >= dp.Sequence {
|
||||
p.params.Logger.Infow("received out of order reliable data packet", "lastPubReliableSeq", p.reliableDataInfo.lastPubReliableSeq.Load(), "dpSequence", dp.Sequence)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user