Versions in this module Expand all Collapse all v0 v0.0.1 Oct 30, 2019 Changes in this version + var DebugRtp = false + var DebugRtsp = false + var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()") + var SkipErrRtpBlock = false + func Handler(h *avutil.RegisterHandler) + type Client struct + DebugRtp bool + DebugRtsp bool + Headers []string + RtpKeepAliveTimeout time.Duration + RtpTimeout time.Duration + RtspTimeout time.Duration + SkipErrRtpBlock bool + func Dial(uri string) (self *Client, err error) + func DialTimeout(uri string, timeout time.Duration) (self *Client, err error) + func (self *Client) Close() (err error) + func (self *Client) Describe() (streams []sdp.Media, err error) + func (self *Client) HandleCodecDataChange() (_newcli *Client, err error) + func (self *Client) Options() (err error) + func (self *Client) Play() (err error) + func (self *Client) ReadPacket() (pkt av.Packet, err error) + func (self *Client) ReadResponse() (res Response, err error) + func (self *Client) SendRtpKeepalive() (err error) + func (self *Client) Setup(idx []int) (err error) + func (self *Client) SetupAll() (err error) + func (self *Client) Streams() (streams []av.CodecData, err error) + func (self *Client) Teardown() (err error) + func (self *Client) WriteRequest(req Request) (err error) + type Request struct + Header []string + Method string + Uri string + type Response struct + Block []byte + Body []byte + ContentLength int + Headers textproto.MIMEHeader + StatusCode int + type Stream struct + Sdp sdp.Media