Documentation ¶
Index ¶
- Variables
- func Handler(h *avutil.RegisterHandler)
- type Client
- func (client *Client) Close() (err error)
- func (client *Client) Describe() (streams []sdp.Media, err error)
- func (client *Client) HandleCodecDataChange() (_newcli *Client, err error)
- func (client *Client) Options() (err error)
- func (client *Client) Play() (err error)
- func (client *Client) ReadPacket() (pkt av.Packet, err error)
- func (client *Client) ReadResponse() (res Response, err error)
- func (client *Client) SendRtpKeepalive() (err error)
- func (client *Client) Setup(idx []int) (err error)
- func (client *Client) SetupAll() (err error)
- func (client *Client) Streams() (streams []av.CodecData, err error)
- func (client *Client) Teardown() (err error)
- func (client *Client) WriteRequest(req Request) (err error)
- type Request
- type Response
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugRtp = false
DebugRtp var
View Source
var DebugRtsp = false
DebugRtsp var
View Source
var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()")
ErrCodecDataChange var
View Source
var SkipErrRtpBlock = false
SkipErrRtpBlock var
Functions ¶
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 }
Client type
func DialTimeout ¶
DialTimeout type
func (*Client) HandleCodecDataChange ¶
HandleCodecDataChange type
func (*Client) ReadPacket ¶
ReadPacket type
func (*Client) ReadResponse ¶
ReadResponse type
func (*Client) SendRtpKeepalive ¶
SendRtpKeepalive type
func (*Client) WriteRequest ¶
WriteRequest type
Click to show internal directories.
Click to hide internal directories.