Revert "Add tracksubscribed event on downtrack added (#2934)" (#2975)

This reverts commit 8b47218270.
This commit is contained in:
cnderrauber
2024-09-04 10:42:18 +08:00
committed by GitHub
parent d6ce2338e2
commit 4792e7e134
2 changed files with 2 additions and 21 deletions
-1
View File
@@ -285,7 +285,6 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track *webrtc.Tra
sfu.WithLoadBalanceThreshold(20),
sfu.WithStreamTrackers(),
sfu.WithForwardStats(t.params.ForwardStats),
sfu.WithEverHasDownTrackAdded(t.OnTrackSubscribed),
)
newWR.OnCloseHandler(func() {
t.MediaTrackReceiver.SetClosing()