udpsink issue on Windows

Donny Viszneki donny.viszneki at gmail.com
Thu Apr 28 15:42:25 PDT 2011


Do you experience the delay if your client and server are on the same
system and you use the loopback address? What is the MSWindows
equivalent of strace/truss?

On Thu, Apr 28, 2011 at 6:28 PM, Alejandro Caires <ajdafonte at gmail.com> wrote:
> Ah ok ok. I understand and thanks for the help but the elements suggested
> can't help me to send rtp over the network :(
> On 28 April 2011 17:47, sumit kumar <sumit.git at gmail.com> wrote:
>>
>> i had worked on it long back..and had used directsoundsrc instead of
>> autoaudiosrc and directsoundsink instead of autoaudiosink with sync propety
>> set to false for sink element...
>>
>> On Thu, Apr 28, 2011 at 8:17 PM, Alejandro Caires <ajdafonte at gmail.com>
>> wrote:
>>>
>>> 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
>>>
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>



-- 
http://codebad.com/


More information about the gstreamer-devel mailing list