mirror of
https://github.com/deepch/vdk
synced 2025-09-26 20:01:11 +08:00
28 lines
338 B
Go
28 lines
338 B
Go
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
|
|
|
|
tsw *tsio.TSWriter
|
|
idx int
|
|
|
|
iskeyframe bool
|
|
pts, dts time.Duration
|
|
data []byte
|
|
datalen int
|
|
}
|