webrtcbin: Report full codec-stats for source pads
authorJan Schmidt <jan@centricular.com>
Tue, 31 Jan 2023 23:44:26 +0000 (10:44 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 19 Feb 2023 10:43:33 +0000 (10:43 +0000)
commit6200b5be84cfda9de16ddc5d93b0eb0c9cca842d
tree7c291c87fa5315c2ec6845ff12d7e6dae7dac99d
parente30b0e906ae6efaa7e63b1c9ed549dfa1315f551
webrtcbin: Report full codec-stats for source pads

Use the current caps for webrtcbin srcpads, as received_caps
are only stored for sink pads based on incoming caps events.

Makes it so that webrtcbin stats reports contain fuller
codec information.

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