client: invert arguments of Setup() and SetupAll()

This commit is contained in:
aler9
2023-08-16 19:05:19 +02:00
parent 5e5a21240d
commit 939c065f6f
21 changed files with 32 additions and 32 deletions

View File

@@ -82,7 +82,7 @@ func record(c *Client, ur string, medias media.Medias, cb func(*media.Media, rtc
return err
}
err = c.SetupAll(medias, u)
err = c.SetupAll(u, medias)
if err != nil {
c.Close()
return err