mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-09 02:30:51 +08:00
feat: h265
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user