Add Close method for UpDataTrackManager and call it on participant (#4432)

* Add `Close` method for UpDataTrackManager and call it on participant
close.

* include out-of-order packets in total packets
This commit is contained in:
Raja Subramanian
2026-04-04 17:09:02 +05:30
committed by GitHub
parent 55912dff7e
commit 0a503a57f6
3 changed files with 21 additions and 0 deletions
+1
View File
@@ -1427,6 +1427,7 @@ func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseRea
p.pendingTracksLock.Unlock()
p.UpTrackManager.Close(isExpectedToResume)
p.UpDataTrackManager.Close()
p.rpcLock.Lock()
clear(p.rpcPendingAcks)