Documentation ¶
Index ¶
- func Open(uri string) (media.VideoSource, error)
- func ParseURL(rawurl string) (*url.URL, error)
- type Client
- func (cli *Client) Describe(uri string) (sdp.Session, error)
- func (cli *Client) GetParameter(uri, session string) (string, error)
- func (cli *Client) Options() ([]string, error)
- func (cli *Client) Pause(uri, session string) error
- func (cli *Client) Play(uri, session string) (rtpInfo string, err error)
- func (cli *Client) Request(method, uri string, headers HeaderMap) (*Response, error)
- func (cli *Client) Setup(uri string) (*Transport, string, error)
- func (cli *Client) Teardown(uri, session string) error
- type HeaderMap
- type RequestFailure
- type Response
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
RTSP 1.0 client implementation. See [RFC 2326](https://tools.ietf.org/html/rfc2326).
func (*Client) GetParameter ¶
Send a GET_PARAMETER request, and return the response. TODO: What should the request body be?
func (*Client) Pause ¶
Send a PAUSE request. See https://tools.ietf.org/html/rfc2326#section-10.6
func (*Client) Setup ¶
Send a SETUP request, and return the established transport and session ID. See https://tools.ietf.org/html/rfc2326#section-10.4
type RequestFailure ¶
type RequestFailure struct {
// contains filtered or unexported fields
}
func (*RequestFailure) Error ¶
func (f *RequestFailure) Error() string
Click to show internal directories.
Click to hide internal directories.