mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-06 17:16:55 +08:00
将track中最新的数据可序列化
This commit is contained in:
@@ -112,9 +112,9 @@ type AVFrame[T RawSlice] struct {
|
||||
IFrame bool
|
||||
PTS uint32
|
||||
DTS uint32
|
||||
AVCC net.Buffers // 打包好的AVCC格式
|
||||
RTP []*RTPFrame
|
||||
Raw []T // 裸数据
|
||||
AVCC net.Buffers `json:"-"` // 打包好的AVCC格式
|
||||
RTP []*RTPFrame `json:"-"`
|
||||
Raw []T `json:"-"` // 裸数据
|
||||
canRead bool
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user