Documentation ¶
Overview ¶
Package conn contains a RTSP connection implementation.
Index ¶
- type Conn
- func (c *Conn) Read() (interface{}, error)
- func (c *Conn) ReadInterleavedFrame() (*base.InterleavedFrame, error)
- func (c *Conn) ReadRequest() (*base.Request, error)
- func (c *Conn) ReadResponse() (*base.Response, error)
- func (c *Conn) WriteInterleavedFrame(fr *base.InterleavedFrame, buf []byte) error
- func (c *Conn) WriteRequest(req *base.Request) error
- func (c *Conn) WriteResponse(res *base.Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a RTSP connection.
func (*Conn) ReadInterleavedFrame ¶
func (c *Conn) ReadInterleavedFrame() (*base.InterleavedFrame, error)
ReadInterleavedFrame reads a InterleavedFrame.
func (*Conn) ReadRequest ¶
ReadRequest reads a Request.
func (*Conn) ReadResponse ¶
ReadResponse reads a Response.
func (*Conn) WriteInterleavedFrame ¶
func (c *Conn) WriteInterleavedFrame(fr *base.InterleavedFrame, buf []byte) error
WriteInterleavedFrame writes an interleaved frame.
func (*Conn) WriteRequest ¶
WriteRequest writes a request.
Click to show internal directories.
Click to hide internal directories.