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

Method WriteAVCC

track/audio.go:76–80  ·  view source on GitHub ↗
(ts uint32, frame *util.BLL)

Source from the content-addressed store, hash-verified

74}
75
76func (av *Audio) WriteAVCC(ts uint32, frame *util.BLL) {
77 av.Value.WriteAVCC(ts, frame)
78 av.generateTimestamp(ts * 90)
79 av.Flush()
80}
81
82func (a *Audio) CompleteAVCC(value *AVFrame) {
83 value.AVCC.Push(a.BytesPool.GetShell(a.AVCCHead))

Callers

nothing calls this directly

Calls 3

FlushMethod · 0.95
WriteAVCCMethod · 0.65
generateTimestampMethod · 0.65

Tested by

no test coverage detected