webrtc: hold onto any unknown ICE candidates until the next SDP set
authorMatthew Waters <matthew@centricular.com>
Mon, 4 Mar 2019 10:44:33 +0000 (21:44 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 30 May 2019 11:33:09 +0000 (21:33 +1000)
commita51db86ac49884c50746fc552da041623224117a
tree7fb01bb9d9e51ae568a9f8bb491ebca755395161
parent177aa22bcd9db2059e714221221a8e56c9533990
webrtc: hold onto any unknown ICE candidates until the next SDP set

It is very possible for badly behaving signalling or peers to send
us ICE candidates before we receive an SDP.  While we had consideration
for that on the first set SDP, subsequent SDP's could result in
misconfigured ICE transports.  Expand the previous code to also take
into account reconfigurations.
ext/webrtc/gstwebrtcbin.c