diff --git a/pkg/sfu/receiver.go b/pkg/sfu/receiver.go index 62fe3f404..957be88e4 100644 --- a/pkg/sfu/receiver.go +++ b/pkg/sfu/receiver.go @@ -254,8 +254,6 @@ func (w *WebRTCReceiver) deleteDownTrack(layer int, id string) { for _, dt := range dts { if dt.id != id { ndts = append(ndts, dt) - } else { - dt.Close() } } w.downTracks[layer].Store(ndts)