<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 4:03 PM, Andres Gonzalez <span dir="ltr"><<a href="mailto:andres.agoralabs@gmail.com" target="_blank">andres.agoralabs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I am very new with GStreamer myself, so take what I say with a grain of<br>
salt, but I thought I would at least offer a few comments in hopes that it<br>
will help you get going.<br>
<br>
I have seen many examples of, and many have commented about the how using a<br>
queue improves performance. So I would insert a queue element after your<br>
appsrc and before the videoconvert.<br>
<br>
Since you are using rtpmp4vpay, it appears you want an RTP stream, so I<br>
would then also use rtpbin to manage the RTP streams.<br>
<br>
These references were very helpful to me:<br>
<a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp</a><br>
<br>
especially<br>
<a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-rtpaux.c" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-rtpaux.c</a><br>
<br>
That example showed me how to use an extra bin to contain video elements<br>
separate from audio elements. But it also shows how to connect to the rtpbin<br>
to get the RTCP streams going. It also shows how to configure the udpsink<br>
element.<br>
<br>
Another suggestion is to use the appsrc/appsink API for these elements. This<br>
was confusing to me at first, but there is a separate API for these so I<br>
would use them when you can.<br>
<br>
Another thing that was helpful to me was getting my GstBin working so I<br>
could get error messages and track state changes. So make sure in your code<br>
you can receive any error messages. The way you implement that of course<br>
depends on your use case and application but the regular tutorials show how<br>
to do that.<br>
<br>
-Andres<br></blockquote><div><br>Thanks all, I'm testing here and  will post my findings.<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/yet-another-udpsink-question-from-a-new-user-tp4675824p4675827.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/yet-another-udpsink-question-from-a-new-user-tp4675824p4675827.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<div class=""><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div></div>