Documentation ¶
Overview ¶
Package rtsp Created by RTT. Author: teocci@yandex.com on 2021-Oct-27
Package rtsp Created by RTT. Author: teocci@yandex.com on 2021-Oct-27
Package rtsp Created by RTT. Author: teocci@yandex.com on 2021-Oct-27
Index ¶
- Variables
- func Handler(h *avutil.RegisterHandler)
- type Client
- func (c *Client) Close() (err error)
- func (c *Client) Describe() (streams []sdp.Media, err error)
- func (c *Client) HandleCodecDataChange() (_newcli *Client, err error)
- func (c *Client) Options() (err error)
- func (c *Client) Play() (err error)
- func (c *Client) ReadPacket() (pkt av.Packet, err error)
- func (c *Client) ReadResponse() (res Response, err error)
- func (c *Client) SendRtpKeepalive() (err error)
- func (c *Client) Setup(idx []int) (err error)
- func (c *Client) SetupAll() (err error)
- func (c *Client) Streams() (streams []av.CodecData, err error)
- func (c *Client) Teardown() (err error)
- func (c *Client) WriteRequest(req Request) (err error)
- type Request
- type Response
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugRtp = false
View Source
var DebugRtsp = false
View Source
var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()")
View Source
var SkipErrRtpBlock = false
Functions ¶
func Handler ¶
func Handler(h *avutil.RegisterHandler)
Types ¶
type Client ¶
type Client struct { DebugRtsp bool DebugRtp bool Headers []string SkipErrRtpBlock bool RtspTimeout time.Duration RtpTimeout time.Duration RtpKeepAliveTimeout time.Duration // contains filtered or unexported fields }
func (*Client) HandleCodecDataChange ¶
func (*Client) ReadResponse ¶
func (*Client) SendRtpKeepalive ¶
func (*Client) WriteRequest ¶
Click to show internal directories.
Click to hide internal directories.