joy4/format/ts/stream.go
Ingo Oppermann 01b5cd703f go fmt
2022-07-28 18:31:52 +02:00

27 lines
343 B
Go

package ts
import (
"github.com/datarhei/joy4/av"
"github.com/datarhei/joy4/format/ts/tsio"
"time"
)
type Stream struct {
av.CodecData
demuxer *Demuxer
muxer *Muxer
pid uint16
streamId uint8
streamType uint8
tsw *tsio.TSWriter
idx int
iskeyframe bool
pts, dts time.Duration
data []byte
datalen int
}