Commit a2f5bb82 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Delete unrequested connections in addDownConnTracks.

We don't renegotiate down connections yet, but this is a latent bug.
parent 6a38272d
...@@ -610,6 +610,7 @@ func addDownConnTracks(c *webClient, remote conn.Up, tracks []conn.UpTrack) (*rt ...@@ -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
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment