Hi, everyone.<br> I will use multiudpsink to send udp data to my
clients, and I want to get some running parameters of every client
through multiudpsink. I have got a method from <br>
>>>http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multiudpsink.html.<br>first, I will set a callback handle to signal "get-stats"<br> g_signal_connect(m_multiudpsink, "get-stats", G_CALLBACK(callback_multudpsink_state), (gpointer)data);<br>then, emit signal "get-stats" by <br> g_signal_emit_by_name(m_multiudpsink, "get-stats",host, port, m_Property);<br><br>With the document of<span class="refentrytitle"> multiudpsink</span>, we can get client's state will be returned by my callback function. <br>*************************************************************<br>My question is how or where can I get pointer of GValueArray ? <br>*************************************************************<br><pre class="programlisting"><a target="_blank" href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray">GValueArray</a>* user_function (<a target="_blank" class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multiudpsink.html#GstMultiUDPSink">GstMultiUDPSink</a> *gstmultiudpsink,<br> <a target="_blank" href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *host,<br> <a target="_blank" href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint">gint</a> port,<br> <a target="_blank" href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data)</pre><br>Thanks !<br><div><br><div>libing195@163.com<br></div>
</div><br><br><span title="neteasefooter"/></span>