MCPcopy Index your code
hub / github.com/livekit/livekit / ReleaseExtPacket

Function ReleaseExtPacket

pkg/sfu/buffer/buffer_base.go:55–64  ·  view source on GitHub ↗
(extPkt *ExtPacket)

Source from the content-addressed store, hash-verified

53)
54
55func ReleaseExtPacket(extPkt *ExtPacket) {
56 if extPkt == nil {
57 return
58 }
59
60 ReleaseExtDependencyDescriptor(extPkt.DependencyDescriptor)
61
62 *extPkt = ExtPacket{}
63 ExtPacketFactory.Put(extPkt)
64}
65
66// --------------------------------------
67

Callers 4

forwardRTPMethod · 0.92
ReadExtendedMethod · 0.85
getExtPacketMethod · 0.85
flushExtPacketsLockedMethod · 0.85

Calls 2

PutMethod · 0.80

Tested by

no test coverage detected