mirror of
https://github.com/livekit/livekit.git
synced 2026-05-15 11:45:36 +00:00
Remove unnecessary check (#3870)
This commit is contained in:
@@ -168,9 +168,7 @@ func (t *MediaTrackSubscriptions) AddSubscriber(sub types.LocalParticipant, wr *
|
||||
|
||||
if !sub.Hidden() {
|
||||
downTrack.OnBindAndConnected(func() {
|
||||
if err == nil {
|
||||
t.params.MediaTrack.OnTrackSubscribed()
|
||||
}
|
||||
t.params.MediaTrack.OnTrackSubscribed()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user