webrtcstats: Get the remote-inbound stats from the right RTPSource
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 16 Oct 2020 01:23:08 +0000 (21:23 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 24 Nov 2020 04:27:52 +0000 (04:27 +0000)
commit1deb034e3d873f577a38bc483e6256b0346ee874
treec89eb14789b03a722a6db2645d7e08a75ea1894a
parent1c1661b54f488cd7998774e18337e0196442bfc8
webrtcstats: Get the remote-inbound stats from the right RTPSource

This also means that we need to get the clock-rate from the codec instead
of from the RTPSource, as the remote one doesn't include a clock rate.

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