1
Fork 0

Delete unrequested connections in addDownConnTracks.

We don't renegotiate down connections yet, but this is a latent bug.
This commit is contained in:
Juliusz Chroboczek 2020-12-18 18:56:07 +01:00
parent 6a38272d1c
commit a2f5bb82d1
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ func addDownConnTracks(c *webClient, remote conn.Up, tracks []conn.UpTrack) (*rt
} }
} }
if !requested { if !requested {
delDownConn(c, remote.Id())
return nil, nil return nil, nil
} }