webrtcbin: Filter transport stream stats by ssrc
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>
Thu, 7 Mar 2019 13:13:14 +0000 (14:13 +0100)
committerMatthew Waters <matthew@centricular.com>
Tue, 12 Mar 2019 01:40:59 +0000 (01:40 +0000)
commitdc0e95acabce149b315b94001ef8e7a0860ef8b4
tree93ac17bd652223bb1d0fe886d1a9b233861636eb
parent926ff109b9e6ceb00806cdcc6ed3086c703f3e06
webrtcbin: Filter transport stream stats by ssrc

Since the addition of BUNDLE support, the pads and the transceivers
share a single transport stream. When getting stats from the stream,
filter by the ssrc of the current pad to avoid merging the stats for
different pads.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/889
ext/webrtc/gstwebrtcstats.c