joy4/format/rtsp/stream.go
2020-04-09 18:14:35 +02:00

30 lines
403 B
Go

package rtsp
import (
"github.com/datarhei/joy4/av"
"github.com/datarhei/joy4/format/rtsp/sdp"
"time"
)
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
}