vdk/format/rtsp/stream.go
2022-09-14 08:53:54 +01:00

30 lines
416 B
Go

package rtsp
import (
"time"
"github.com/honuworx/vdk/av"
"github.com/honuworx/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
}