MCPcopy Create free account
hub / github.com/Monibuca/engine / CompleteAVCC

Method CompleteAVCC

track/audio.go:82–91  ·  view source on GitHub ↗
(value *AVFrame)

Source from the content-addressed store, hash-verified

80}
81
82func (a *Audio) CompleteAVCC(value *AVFrame) {
83 value.AVCC.Push(a.BytesPool.GetShell(a.AVCCHead))
84 value.AUList.Range(func(v *util.BLL) bool {
85 v.Range(func(v util.Buffer) bool {
86 value.AVCC.Push(a.BytesPool.GetShell(v))
87 return true
88 })
89 return true
90 })
91}
92
93func (a *Audio) CompleteRTP(value *AVFrame) {
94 a.PacketizeRTP(value.AUList.ToList()...)

Callers

nothing calls this directly

Calls 3

GetShellMethod · 0.80
PushMethod · 0.65
RangeMethod · 0.45

Tested by

no test coverage detected