How to best obtain packet loss statistics from rtspsrc

John Weber rjohnweber at gmail.com
Wed Oct 28 14:13:05 PDT 2015


On Wed, Oct 28, 2015 at 2:27 AM, Sebastian Dröge <sebastian at centricular.com>
wrote:

> On Mi, 2015-10-28 at 00:19 -0500, John Weber wrote:
> >
> > 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.
>
> As GstStructure is not refcounted, no. But the one you get from the
> "stats" property is owned by you and not going to change. You can keep
> it around as long as you want, but to get newer stats you need to get a
> new one.
>
>
OK.  Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151028/7a4897d6/attachment.html>


More information about the gstreamer-devel mailing list