Use pushTracks in up.OnTrack.
This commit is contained in:
1 parent
fc6c26e176
commit
7281a09f6e
1 file changed
+1
-4
@@ -315,10 +315,7 @@ func addUpConn(c *client, id string) (*upConnection, error) {
|
||||
|
||||
clients := c.group.getClients(c)
|
||||
for _, cc := range clients {
|
||||
cc.action(addTrackAction{track, u, done})
|
||||
if done && u.label != "" {
|
||||
cc.action(addLabelAction{id, u.label})
|
||||
}
|
||||
pushTracks(cc, u, []*upTrack{track}, done, u.label)
|
||||
}
|
||||
|
||||
go upLoop(conn, track)
|
||||
|
||||
Reference in new issue
Block a user