vdk/format/ts/stream.go
kunmeng 0e65c9d1cc
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
将包名改为 git.r-2.top/kunmeng/vdk
2025-01-24 14:45:45 +08:00

28 lines
386 B
Go

package ts
import (
"time"
"git.r-2.top/kunmeng/vdk/av"
"git.r-2.top/kunmeng/vdk/format/ts/tsio"
)
type Stream struct {
av.CodecData
demuxer *Demuxer
muxer *Muxer
pid uint16
streamId uint8
streamType uint8
tsw *tsio.TSWriter
idx int
fps uint
iskeyframe bool
pts, dts, pt time.Duration
data []byte
datalen int
}