mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Use pushTracks in up.OnTrack.
This commit is contained in:
parent
fc6c26e176
commit
7281a09f6e
1 changed files with 1 additions and 4 deletions
|
@ -315,10 +315,7 @@ func addUpConn(c *client, id string) (*upConnection, error) {
|
||||||
|
|
||||||
clients := c.group.getClients(c)
|
clients := c.group.getClients(c)
|
||||||
for _, cc := range clients {
|
for _, cc := range clients {
|
||||||
cc.action(addTrackAction{track, u, done})
|
pushTracks(cc, u, []*upTrack{track}, done, u.label)
|
||||||
if done && u.label != "" {
|
|
||||||
cc.action(addLabelAction{id, u.label})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
go upLoop(conn, track)
|
go upLoop(conn, track)
|
||||||
|
|
Loading…
Reference in a new issue