vdk/format/rtsp/stream.go
Andrey Semochkin 087a2b4c2d first commit
2019-11-30 21:53:21 +01:00

30 lines
412 B
Go

package rtsp
import (
"time"
"github.com/deepch/vdk/av"
"github.com/deepch/vdk/format/rtsp/sdp"
)
type Stream struct {
av.CodecData
Sdp sdp.Media
client *Client
// h264
fuStarted bool
fuBuffer []byte
sps []byte
pps []byte
spsChanged bool
ppsChanged bool
gotpkt bool
pkt av.Packet
timestamp uint32
firsttimestamp uint32
lasttime time.Duration
}