webrtc: Allow toggling TCP and UDP candidates
authorChris Ayoup <ayochris@amazon.com>
Thu, 16 Apr 2020 22:37:35 +0000 (22:37 +0000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 11 May 2020 05:30:59 +0000 (05:30 +0000)
commit3fc8818824ffc10cc2cf10c35930a8c86c144325
treec493d95f0faf457c34413e9f8a7f56478c8f89c8
parent98600942e4bed0e46e9bdeab97a32f9dc5825fae
webrtc: Allow toggling TCP and UDP candidates

Add some properties to allow TCP and UDP candidates to be toggled.  This
is useful in cases where someone is using this element in an environment
where it is known in advance whether a given transport will work or not
and will prevent wasting time generating and checking candidate pairs
that will not succeed.

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