webrtc-stats for remote-outbound-rtp not available
I carefully followed the example code in {{https://github.com/GStreamer/gst-plugins-bad/blob/master/tests/check/elements/webrtcbin.c}} Reference test case at line 1363 GST_START_TEST (test_session_stats).
Specifically my problem is, when I get to the function to validate the statistics, some of them are not present. To simplify I show an excerpt from my code for the functions leading up to and where I try to read and verify the stats. I did not show all the steps. It mimics the example. See attached file.
My questions are, 1> why would the remote stats not be present? 2> Is this not implemented in gstreamer or is there something that needs to be configured on the sender (remote) side to make the stats present? 3> I am doing something wrong