diff --git a/pkg/core/track.go b/pkg/core/track.go index 0a3a701c..1faae309 100644 --- a/pkg/core/track.go +++ b/pkg/core/track.go @@ -73,9 +73,6 @@ func (t *Receiver) Replace(target *Receiver) { // move this receiver senders to new receiver t.mu.Lock() senders := t.senders - // fix https://github.com/AlexxIT/go2rtc/issues/828 - // TODO: fix the reason, not the consequence - t.senders = nil t.mu.Unlock() target.mu.Lock()