mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 21:53:22 +00:00
Don't output error log if upstream closed while binding (#1211)
This commit is contained in:
1 parent
e9abb47020
commit
6f27d683a9
1 file changed
+1
-1
@@ -139,7 +139,7 @@ func (t *MediaTrackSubscriptions) AddSubscriber(sub types.LocalParticipant, wr *
|
||||
if reusingTransceiver.Load() {
|
||||
downTrack.SeedState(dtState)
|
||||
}
|
||||
if err = wr.AddDownTrack(downTrack); err != nil {
|
||||
if err = wr.AddDownTrack(downTrack); err != nil && err != sfu.ErrReceiverClosed {
|
||||
sub.GetLogger().Errorw(
|
||||
"could not add down track", err,
|
||||
"publisher", subTrack.PublisherIdentity(),
|
||||
|
||||
Reference in new issue
Block a user