vdk/format/ts/stream.go

28 lines
382 B
Go
Raw Permalink Normal View History

2019-12-01 04:53:21 +08:00
package ts
import (
"time"
"github.com/deepch/vdk/av"
"github.com/deepch/vdk/format/ts/tsio"
)
type Stream struct {
av.CodecData
demuxer *Demuxer
muxer *Muxer
pid uint16
streamId uint8
streamType uint8
2022-06-06 03:26:12 +08:00
tsw *tsio.TSWriter
idx int
fps uint
2022-03-28 20:47:46 +08:00
iskeyframe bool
pts, dts, pt time.Duration
data []byte
datalen int
2019-12-01 04:53:21 +08:00
}