webrtcbin: Set transceiver kind and codec preferences immediately when creating it
authorSebastian Dröge <sebastian@centricular.com>
Fri, 25 Jun 2021 07:20:06 +0000 (10:20 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 25 Jun 2021 11:35:43 +0000 (14:35 +0300)
commit096a7f1ac0c483c6880efdbe37ec8bf92be48fe5
tree558ed48eabd91e86f71823ebf8f272ba336bc0e1
parentdcc49f846b0a7ef505e476c3adb0b6f3ba582ef7
webrtcbin: Set transceiver kind and codec preferences immediately when creating it

Otherwise the on-new-transceiver signal will always be emitted with kind
set to UNKNOWN and no codec preferences although both are often known at
this point already.

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