gstrtpbin current bandwidth and latency

Myles Megyesi myles.megyesi at gmail.com
Tue Mar 29 10:29:19 PDT 2011


Thanks the bandwidth works great. By latency I actually meant the end-to-end
delay from server to client. Is there a way to find that info?

2011/3/29 Olivier Crête <olivier.crete at collabora.co.uk>

> On Mon, 2011-03-28 at 20:41 -0500, Myles Megyesi wrote:
> > Hi,
> >
> > Is there a way to find the bandwidth and latency of a gstrtpbin
> > stream? On the
> > server side I need to find the outgoing bandwidth and on the client
> > side I
> > need to find the incoming bandwidth. I also need to find the latency
> > (time
> > delay) on the client side. Thanks.
>
> I guess you mean the latency added by the jitterbuffer in rtpbin? It's
> controlled by a property on rtpbin.
>
> AS for the bandwidth and other stats, you can get them from the "stats"
> property of the rtpsource object that you can get from the rtpsession
> object with something like:
>
> GObject *rtpsession, *rtpsource;
> GstStructure *stats;
> g_signal_emit_by_name(rtpbin, "get-internal-session", sessionid,
> &rtpsession);
> g_signal_emit_by_name(rtpsession, "get-source-by-ssrc, ssrc,
> &rtpsource);
> g_object_get(rtpsource, "stats", &stats, NULL);
>
> --
> Olivier Crête
> olivier.crete at collabora.co.uk
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110329/547825bc/attachment.htm>


More information about the gstreamer-devel mailing list