Documentation ¶
Index ¶
- Variables
- func Handler(h *avutil.RegisterHandler)
- type Client
- 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
- 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.