Do not need to just clean up receivers. Remove that interface. (#3760)

The tracks are always closed.
This commit is contained in:
Raja Subramanian
2025-06-24 12:54:34 -07:00
committed by GitHub
parent ef6c38cee5
commit 1216113b35
10 changed files with 25 additions and 110 deletions
+1 -1
View File
@@ -742,7 +742,7 @@ func (r *Room) RemoveParticipant(identity livekit.ParticipantIdentity, pID livek
// remove all published tracks
for _, t := range p.GetPublishedTracks() {
p.RemovePublishedTrack(t, false, true)
p.RemovePublishedTrack(t, false)
r.trackManager.RemoveTrack(t)
}