package rtsp import ( "time" "gitlab.com/ics_cinnamon/joy4/av" "gitlab.com/ics_cinnamon/joy4/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 }