udpsink issue on Windows

Alejandro Caires ajdafonte at gmail.com
Thu Apr 28 03:06:05 PDT 2011


Hi,

First of all I want to congratulate the work done in this library.

I'm using gstreamer in Windows and I have the following problem:

When I execute the following instruction:
gst-launch.exe gstrtpbin name=rtpbin autoaudiosrc ! alawenc ! rtppcmapay
max-ptime=20000000 timestamp-offset=0 ! udpsink port=<portDest>
host=<ipDest>

takes about 10-12 seconds to execute it.

This delay happens in the following scenarios:

- When the user with a "send pipeline" connect the PC and perform
the test, the pipeline took about 10-12 seconds to be started;

- For example, imagine that you try to do the test at 2 p.m. and it
doesn't has delay, then wait 20 minutes (approx.) and try to do the
test again. In this case, the delay of 10-12 seconds always happen.

Taking into account this situation, I've been done more testing and I noted
the following (I'm using Gstreamer-Java to perform this test):

When I want to send rtp over the network I use the udpsink Element as
follows:

Element rtpsink = ElementFactory.make("udpsink", "rtpsink");
rtpsink.set("port", "4000");
rtpsink.set("host", "192.168.2.8");

And I noted that (sometimes) executing these instructions takes about 10-12
seconds to
execute them. In other words, the same that happens executing the pipeline
described above.

For all I have been describing and after some help of the guys of OSSBuild
project, I noted that the udpsink element has some issues on Windows.

So, I've searched in this mailing list to know more info about this question
and I found the following posts:

https://bugzilla.gnome.org/show_bug.cgi?id=534243
https://bugzilla.gnome.org/show_bug.cgi?id=604870

After all that has been described previously, I would like to know if
someone can help me about this issue. Is already resolved? If there's an
alternative element that I can use instead of udpsink?

Best regards



-- 
Alejandro Caires
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110428/2ba87257/attachment.htm>


More information about the gstreamer-devel mailing list