webrtcbin: fix ulpfec / red for the BUNDLE case
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 7 Dec 2021 22:55:22 +0000 (23:55 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 14 Dec 2021 17:34:53 +0000 (17:34 +0000)
commit06893b8b5ea6ee34616d091509f745b9a6ff2d67
tree7e26b5b5e63c422bfe5d283d37aeff1d77e05ca3
parentd12d45db77fc37bb3848a1fbc7da25313bd8c529
webrtcbin: fix ulpfec / red for the BUNDLE case

* Add fec / red encoders as direct children of webrtcbin, instead
  of providing them to rtpbin through the request-fec-encoder signal.

  That is because they need to be placed before the rtpfunnel, which
  is placed upstream of rtpbin.

* Update configuration of red decoders to set a list of RED payloads
  on them, instead of setting the pt property.

  That is because there may be one RED pt per media in the same session.

* Connect to request-fec-decoder-full instead of request-fec-decoder,
  in order to instantiate FEC decoders according to the payload type
  of the stream.

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