feat: h265

This commit is contained in:
langhuihui
2024-07-11 10:18:21 +08:00
parent de1111f1f5
commit 13e1029b1d
44 changed files with 3831 additions and 1077 deletions

View File

@@ -24,7 +24,7 @@ type RTMPData struct {
}
func (avcc *RTMPData) Dump(t byte, w io.Writer) {
m := avcc.Borrow(9 + avcc.Size)
m := avcc.GetAllocator().Borrow(9 + avcc.Size)
m[0] = t
binary.BigEndian.PutUint32(m[1:], uint32(4+avcc.Size))
binary.BigEndian.PutUint32(m[5:], avcc.Timestamp)