webrtc: Fix a couple of renegotiation races
authorMatthew Waters <matthew@centricular.com>
Tue, 5 May 2020 04:35:10 +0000 (14:35 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 6 May 2020 02:53:27 +0000 (02:53 +0000)
commit46176fbcc72a38136be8cf4fcf1cb4dce57375fb
tree6d972d112540985b689e7f26b619f14a0799bdf6
parent7aa58954c15b1d5e73ae67a39559f87acc6286e9
webrtc: Fix a couple of renegotiation races

When negotiating the SDP we should only connect the streams that are
actually mentioned in the SDP.  All other streams are not relevant at
this time and would likely be part of a future SDP update.  Fixes a
couple of the renegotiation webrtc unit tests.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1240>
ext/webrtc/gstwebrtcbin.c