mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
client: call Options() automatically
This commit is contained in:
@@ -37,11 +37,6 @@ func main() {
|
||||
}
|
||||
defer c.Close()
|
||||
|
||||
_, err = c.Options(u)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
tracks, baseURL, _, err := c.Describe(u)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user