Start RTCP up sender early.

This commit is contained in:
Juliusz Chroboczek
2020-12-25 20:10:12 +01:00
parent e3fd9a963a
commit e5fec68acf
+2 -1
View File
@@ -453,10 +453,11 @@ func newUpConn(c group.Client, id string) (*rtpUpConnection, error) {
for _, cc := range clients { for _, cc := range clients {
cc.PushConn(c.Group(), up.id, up, tracks, up.label) cc.PushConn(c.Group(), up.id, up, tracks, up.label)
} }
go rtcpUpSender(up)
} }
}) })
go rtcpUpSender(up)
return up, nil return up, nil
} }