<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_1_1433945139677_3466">Hello,</div><div id="yui_3_16_0_1_1433945139677_3488"><br></div><div dir="ltr" id="yui_3_16_0_1_1433945139677_3487">I am streaming video using udp . I am trying to add metadata at the server to udp packets and extract the metadata at the client. At the server I have added probe to udpsink as below.<br></div><div id="yui_3_16_0_1_1433945139677_3623" dir="ltr"><br></div><div id="yui_3_16_0_1_1433945139677_3643" dir="ltr">pad1 = gst_element_get_static_pad (Data.usink, "sink");<br style="" class=""> gst_pad_add_probe (pad1, GST_PAD_PROBE_TYPE_BUFFER_LIST,<br style="" class=""> (GstPadProbeCallback) cb_have_data1, NULL, NULL);<br style="" class=""> gst_object_unref (pad1);<br></div><div id="yui_3_16_0_1_1433945139677_3644" style="" class="" dir="ltr"><br></div><div id="yui_3_16_0_1_1433945139677_3728" style="" class="" dir="ltr"><br></div><div id="yui_3_16_0_1_1433945139677_3773" style="" class="" dir="ltr">static GstPadProbeReturn cb_have_data1(GstPad *pad, GstPadProbeInfo *info, gpointer user_data)<br style="" class="">{<br style="" class="">GstPadProbeReturn ret = GST_PAD_PROBE_OK;<br style="" class=""><br style="" class="">gint size1;<br style="" class="">GstBufferList *list;<br style="" class=""><br style="" class="">list = gst_pad_probe_info_get_buffer_list(info);<br style="" class="">size1 = gst_buffer_list_length(list);<br style="" class="">for(i=0; i<size1; i++)<br style="" class="">{<br style="" class="">GstBuffer *buffer1 = gst_buffer_list_get(list, i);<br style="" class="">gst_buffer_add_my_example_meta (buffer1, num);<br style="" class="">num++;<br style="" class="">}<br style="" class="">return ret;<br style="" class="">}<br style="" class=""></div><div id="yui_3_16_0_1_1433945139677_3885" style="" class="" dir="ltr"><br></div><div id="yui_3_16_0_1_1433945139677_3923" style="" class="" dir="ltr">I implemented the metadata API using the link <a id="yui_3_16_0_1_1433945139677_3659" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-allocation-meta.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-allocation-meta.html</a> where with every buffer I am adding number. The problem is that I am unable to get the metadata at the client side. </div><div id="yui_3_16_0_1_1433945139677_4008" style="" class="" dir="ltr">Would you have any idea what's wrong?</div><div id="yui_3_16_0_1_1433945139677_4023" style="" class="" dir="ltr"><br></div><div id="yui_3_16_0_1_1433945139677_4022" style="" class="" dir="ltr">Thanks!<br style="" class=""></div><div id="yui_3_16_0_1_1433945139677_3651" style="" class="" dir="ltr"><br style="" class=""></div></div></body></html>