webrtc: fix ice control mode when we offer initially
authorMatthew Waters <matthew@centricular.com>
Sun, 21 Jun 2020 06:02:43 +0000 (16:02 +1000)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 22 Jun 2020 12:17:09 +0000 (12:17 +0000)
commit0f41c0f000df9c69fdc4cece31c2da33c5f85833
tree1bfeea22b99c3864cba68be4c9b901974889cc5a
parent4997cde6990512bdaf9ba98e2b9e2625525f99e8
webrtc: fix ice control mode when we offer initially

An initial offer means we have a local description not a remote
description.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1332

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