udpsink issue on Windows

Alejandro Caires ajdafonte at gmail.com
Thu Apr 28 07:47:27 PDT 2011


It happens the same :(

Btw, what's the difference between changing autoaudiosrc for directsoundsrc
in this particular case?

On 28 April 2011 14:10, sumit kumar <sumit.git at gmail.com> wrote:

> Please give a try with directsoundsrc...
>
> On Thu, Apr 28, 2011 at 3:36 PM, Alejandro Caires <ajdafonte at gmail.com>wrote:
>
>> 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
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


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


More information about the gstreamer-devel mailing list