joy4/stream.go
2016-06-21 16:59:43 +08:00

26 lines
332 B
Go

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