Do not need to just clean up receivers. Remove that interface. (#3760)
The tracks are always closed.
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user