mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
client: invert arguments of Setup()
This commit is contained in:
@@ -47,7 +47,7 @@ func main() {
|
||||
// setup only video tracks, skipping audio or application tracks
|
||||
for _, t := range tracks {
|
||||
if t.Media.MediaName.Media == "video" {
|
||||
_, err := c.Setup(true, baseURL, t, 0, 0)
|
||||
_, err := c.Setup(true, t, baseURL, 0, 0)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user