first commit

This commit is contained in:
Andrey Semochkin
2019-11-30 21:53:21 +01:00
commit 087a2b4c2d
60 changed files with 19091 additions and 0 deletions

29
format/rtsp/stream.go Normal file
View File

@@ -0,0 +1,29 @@
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
}