Skip to content

webrtcbin: Fixes for bundled statistics generation

Jan Schmidt requested to merge thaytan/gstreamer:webrtcbin-stats into main

When multiple streams are bundled on the same transport, the statistics would end up incorrectly generated, as each pad would regenerate stats for every ssrc on the transport, overwriting previous iterations and assigning bogus media kind and other values to the wrong ssrc.

Fix by making sure each pad only loops and generates statistics for the one ssrc that pad is receiving / sending.

Merge request reports