About how to use signal in GStreamer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

About how to use signal in GStreamer

liangzhihong1984
Hi there,
    My application seems to need use the multiudpsink element, I noticed that there is a signal named "client-added",and the callback function declaration looks like:
  "client-added" :  void user_function (GstElement* object,
                                        gchararray arg0,
                                        gint arg1,
                                        gpointer user_data);
arg0 is the ip address, and arg1 is port. Now my question is how can I transfer the client ip and port to the callback function with this "client-added" signal in my application.I'v no idea about that.Looking forward for your help.Thank you in advance.

Best Regards,
Leon Liang

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel