client: add range argument to clientconn.Play()

This commit is contained in:
aler9
2021-05-28 13:57:31 +02:00
committed by Alessandro Ros
parent b4ac92dea8
commit a9995fb228
5 changed files with 155 additions and 9 deletions

View File

@@ -165,7 +165,7 @@ func (c *Client) DialReadContext(ctx context.Context, address string) (*ClientCo
}
}
_, err = conn.Play()
_, err = conn.Play(nil)
if err != nil {
conn.Close()
return nil, err