mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-06 17:16:55 +08:00
将track中最新的数据可序列化
This commit is contained in:
4
io.go
4
io.go
@@ -28,8 +28,8 @@ type IO[C IOConfig, S IIO] struct {
|
||||
context.Context `json:"-"` //不要直接设置,应当通过OnEvent传入父级Context
|
||||
context.CancelFunc `json:"-"` //流关闭是关闭发布者或者订阅者
|
||||
*zap.Logger `json:"-"`
|
||||
StartTime uint32 //创建时间
|
||||
Stream *Stream `json:"-"`
|
||||
StartTime time.Time //创建时间
|
||||
Stream *Stream `json:"-"`
|
||||
io.Reader `json:"-"`
|
||||
io.Writer `json:"-"`
|
||||
io.Closer `json:"-"`
|
||||
|
Reference in New Issue
Block a user