webrtcbin: Always set SINK/SRC flags
authorSebastian Dröge <sebastian@centricular.com>
Thu, 23 Sep 2021 16:30:32 +0000 (19:30 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 25 Sep 2021 13:33:13 +0000 (16:33 +0300)
commit6d9ca9c679f1c5b825176df727e6d24b59727b11
tree63ff7348aa830ba7f45418bb77f2e34c967867f9
parentb4cf146ed0f6ae0fce7767e4bdf172f308a4ec2f
webrtcbin: Always set SINK/SRC flags

webrtcbin can act as a sink/source depending on the SDP later. Without
setting this here already, surrounding bins might not notice this and
the pipeline configuration might become inconsistent, e.g. with regards
to latency.

See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/737

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