You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
352 B
Go
28 lines
352 B
Go
package ts
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gitlab.com/ics_cinnamon/joy4/av"
|
|
"gitlab.com/ics_cinnamon/joy4/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
|
|
}
|