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

@@ -40,7 +40,7 @@ func main() {
// setup all medias
// this must be called before StartRecording(), since it overrides the control attribute.
err = reader.SetupAll(medias, baseURL)
err = reader.SetupAll(baseURL, medias)
if err != nil {
panic(err)
}