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?<br><br><div class="gmail_quote">2011/3/29 Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.co.uk">olivier.crete@collabora.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Mon, 2011-03-28 at 20:41 -0500, Myles Megyesi wrote:<br>
> Hi,<br>
><br>
> Is there a way to find the bandwidth and latency of a gstrtpbin<br>
> stream? On the<br>
> server side I need to find the outgoing bandwidth and on the client<br>
> side I<br>
> need to find the incoming bandwidth. I also need to find the latency<br>
> (time<br>
> delay) on the client side. Thanks.<br>
<br>
</div></div>I guess you mean the latency added by the jitterbuffer in rtpbin? It's<br>
controlled by a property on rtpbin.<br>
<br>
AS for the bandwidth and other stats, you can get them from the "stats"<br>
property of the rtpsource object that you can get from the rtpsession<br>
object with something like:<br>
<br>
GObject *rtpsession, *rtpsource;<br>
GstStructure *stats;<br>
g_signal_emit_by_name(rtpbin, "get-internal-session", sessionid,<br>
&rtpsession);<br>
g_signal_emit_by_name(rtpsession, "get-source-by-ssrc, ssrc,<br>
&rtpsource);<br>
g_object_get(rtpsource, "stats", &stats, NULL);<br>
<font color="#888888"><br>
--<br>
Olivier Crête<br>
<a href="mailto:olivier.crete@collabora.co.uk">olivier.crete@collabora.co.uk</a><br>
</font><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>