From 5fa31fe4d6cf0e77562b755d52e8ed0165f89d25 Mon Sep 17 00:00:00 2001 From: Alex X Date: Sat, 10 Feb 2024 08:49:47 +0300 Subject: [PATCH] Fix reconnection issue --- pkg/core/track.go | 3 --- 1 file changed, 3 deletions(-) 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()