mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 21:53:22 +00:00
remove buffer close
This commit is contained in:
1 parent
4f56d55d86
commit
f30fe90d98
1 file changed
-3
@@ -279,9 +279,6 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track *webrtc.Tra
|
||||
if onclose != nil {
|
||||
onclose()
|
||||
}
|
||||
if buff := t.params.BufferFactory.GetBuffer(uint32(t.ssrc)); buff != nil {
|
||||
_ = buff.Close()
|
||||
}
|
||||
})
|
||||
t.params.Stats.AddPublishedTrack(t.kind.String())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user