Don't output error log if upstream closed while binding (#1211)
This commit is contained in:
@@ -139,7 +139,7 @@ func (t *MediaTrackSubscriptions) AddSubscriber(sub types.LocalParticipant, wr *
|
|||||||
if reusingTransceiver.Load() {
|
if reusingTransceiver.Load() {
|
||||||
downTrack.SeedState(dtState)
|
downTrack.SeedState(dtState)
|
||||||
}
|
}
|
||||||
if err = wr.AddDownTrack(downTrack); err != nil {
|
if err = wr.AddDownTrack(downTrack); err != nil && err != sfu.ErrReceiverClosed {
|
||||||
sub.GetLogger().Errorw(
|
sub.GetLogger().Errorw(
|
||||||
"could not add down track", err,
|
"could not add down track", err,
|
||||||
"publisher", subTrack.PublisherIdentity(),
|
"publisher", subTrack.PublisherIdentity(),
|
||||||
|
|||||||
Reference in New Issue
Block a user