<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 2:57 AM, Jesper Larsen <span dir="ltr"><<a href="mailto:knorr.jesper@gmail.com" target="_blank">knorr.jesper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello<div><br></div><div>I have retrieved the statistics this way</div><div><br></div><div>1. Register a "new-manager" signal callback on rtspsrc to get the rtpbin element</div><div>2. Register a "on-ssrc-active" signal callback on the rtpbin element</div><div>3. Emit the "get-internal-session" signal on the bin with session id from callback 2)</div><div>4. Emit the "get-source-by-ssrc" signal on the session with the ssrc id from callback 2) (not actually sure this signal is documented, but you can find it in gst/rtpmanager/rtpsession.c)</div><div>5. Get the "stats" property from the rtpsource obtained in 4)</div><div><br></div><div>The API for all this has changed quite a bit, but this approach should work on 1.4 and 1.6. Looks like there is new API that makes some shortcuts that are marked for 1.8.</div><div><br></div><div>Jesper</div></div></blockquote><div><br><div>Thanks Sebastian and Jesper.  This was a great help and I'm able to view the statistics now.  I'd welcome the new API, since this is a pretty elaborate way of getting to some nice statistics.<br><br></div>One
 question - is there a way that I can get access to a shared (read only,
 or immutable) version of the statistics from the rtp source?  I'd like to store that and reference it when I need to read it, rather than needing to go through the process of getting a new copy of the statistics GstStructure every time.<br></div></div><br></div></div>