tests/webrtc: wait until the SDP has been set before continuing
authorMatthew Waters <matthew@centricular.com>
Thu, 7 Mar 2019 13:39:59 +0000 (00:39 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 30 May 2019 11:33:09 +0000 (21:33 +1000)
commit62cc5e51d1c69c8527babe2b8560e0829a4ffec7
treee52a1bdd7d80ced0921e2f84488d4ba941a7896d
parent979daea7f2f3cdfad06494360f2084ff106723c1
tests/webrtc: wait until the SDP has been set before continuing

If we renegotiate, then it is currently possible for an added stream to
be added to webrtcbin before the SDP is complete.  This causes an
internal inconsistency as there is a 'pending sink transceiver' without
a corresponding media section in the sdp.  It also does not have an
associated transport stream and will fail in _connect_input_stream().
tests/check/elements/webrtcbin.c