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)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 23 Aug 2021 10:46:53 +0000 (10:46 +0000)
commit6efdb476ca024c87bc35d187f0f2bb13f0145911
tree0475d9615ab73d59b3e87fd1c9b0f3a59d4fb8f4
parent16e25e51fecfbd2f120823066dfabcc3f46bc647
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.

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