remove buffer close
This commit is contained in:
@@ -279,9 +279,6 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track *webrtc.Tra
|
|||||||
if onclose != nil {
|
if onclose != nil {
|
||||||
onclose()
|
onclose()
|
||||||
}
|
}
|
||||||
if buff := t.params.BufferFactory.GetBuffer(uint32(t.ssrc)); buff != nil {
|
|
||||||
_ = buff.Close()
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
t.params.Stats.AddPublishedTrack(t.kind.String())
|
t.params.Stats.AddPublishedTrack(t.kind.String())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user