protocol/rtsp: Client.Do r parameter now req.

This commit is contained in:
Saxon 2019-04-28 00:54:44 +09:30
parent 07e7235dc4
commit 01a22ffc38
1 changed files with 2 additions and 2 deletions

View File

@ -113,8 +113,8 @@ func (c *Client) Play() (*Response, error) {
// Do sends the given RTSP request r and reads any responses, return the response // Do sends the given RTSP request r and reads any responses, return the response
// and any errors. // and any errors.
func (c *Client) Do(r *Request) (*Response, error) { func (c *Client) Do(req *Request) (*Response, error) {
err := r.Write(c.conn) err := req.Write(c.conn)
if err != nil { if err != nil {
return nil, err return nil, err
} }