mirror of
https://github.com/aler9/gortsplib
synced 2025-10-25 16:20:37 +08:00
client: invert arguments of Setup() and SetupAll()
This commit is contained in:
@@ -63,7 +63,7 @@ func (c *client) read() error {
|
||||
}
|
||||
|
||||
// setup all medias
|
||||
err = rc.SetupAll(medias, baseURL)
|
||||
err = rc.SetupAll(baseURL, medias)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user