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">&lt;<a href="mailto:olivier.crete@collabora.co.uk">olivier.crete@collabora.co.uk</a>&gt;</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>
&gt; Hi,<br>
&gt;<br>
&gt; Is there a way to find the bandwidth and latency of a gstrtpbin<br>
&gt; stream? On the<br>
&gt; server side I need to find the outgoing bandwidth and on the client<br>
&gt; side I<br>
&gt; need to find the incoming bandwidth. I also need to find the latency<br>
&gt; (time<br>
&gt; delay) on the client side. Thanks.<br>
<br>
</div></div>I guess you mean the latency added by the jitterbuffer in rtpbin? It&#39;s<br>
controlled by a property on rtpbin.<br>
<br>
AS for the bandwidth and other stats, you can get them from the &quot;stats&quot;<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, &quot;get-internal-session&quot;, sessionid,<br>
&amp;rtpsession);<br>
g_signal_emit_by_name(rtpsession, &quot;get-source-by-ssrc, ssrc,<br>
&amp;rtpsource);<br>
g_object_get(rtpsource, &quot;stats&quot;, &amp;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>