udpsink issue on Windows

Alejandro Caires ajdafonte at gmail.com
Fri May 6 04:35:24 PDT 2011


Hi Nicola,

Thks for your answer and I appreciate that :)

But that kind of idea doesn't fit to my application. It needs to receive and
send rtp over the network directly and for that udpsink element it's the
only solution. Unfortunately has this issue :(

Best regards

On 4 May 2011 19:44, Lists SVR <lists at svrinformatica.it> wrote:

>
>
> Il giorno mer, 04/05/2011 alle 11.21 +0100, Alejandro Caires ha scritto:
> > It's a shame :(
> >
>
> you can setup a gst-http server on linux that connect to the video
> sources and serve the stream over http, souphttpsrc works fine on
> windows. This is the setup I'm using with no problems,
>
> regards
> Nicola
>
> > And nobody knows if this network issue in Windows can be resolved?
> >
> > On 4 May 2011 11:09, Farkas Levente <lfarkas at lfarkas.org> wrote:
> >         no. unfortunately it seems all network related code in
> >         gstreamer on
> >         windows has problems:-(((
> >
> >
> >         On Wed, May 4, 2011 at 11:40, Alejandro Caires
> >         <ajdafonte at gmail.com> wrote:
> >         > I've searching in the web and I found that this problem
> >         could be related
> >         > with the IPv6 in Windows. Anyone can confirm that?
> >         >
> >         > On 1 May 2011 13:39, Alejandro Caires <ajdafonte at gmail.com>
> >         wrote:
> >         >>
> >         >> I already do the test and contrary to what I
> >         thought, setting the
> >         >> localhost ip in the host property the delay also happens.
> >         >>
> >         >> On 29 April 2011 10:57, Alejandro Caires
> >         <ajdafonte at gmail.com> wrote:
> >         >>>
> >         >>> Responses in-line
> >         >>>
> >         >>> On 28 April 2011 23:42, Donny Viszneki
> >         <donny.viszneki at gmail.com> wrote:
> >         >>>>
> >         >>>> Do you experience the delay if your client and server are
> >         on the same
> >         >>>> system and you use the loopback address?
> >         >>>
> >         >>> I think that setting the localhost ip in the host property
> >         the delay
> >         >>> doesn't happen, But I'll test to confirm that.
> >         >>>
> >         >>>>
> >         >>>> What is the MSWindows
> >         >>>> equivalent of strace/truss?
> >         >>>
> >         >>> I am not very familiar with that kind of tools, but I did
> >         a little search
> >         >>> in the web and I found this tool:
> >         >>>
> >         >>>
> >
> http://www.intellectualheaven.com/default.asp?BH=projects&H=strace.htm
> >         >>>
> >         >>>>
> >         >>>> 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/
> >         >>>> _______________________________________________
> >         >>>> gstreamer-devel mailing list
> >         >>>> gstreamer-devel at lists.freedesktop.org
> >         >>>>
> >         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >         >>>
> >         >>>
> >         >>>
> >         >>> --
> >         >>> Alejandro Caires
> >         >>
> >         >>
> >         >>
> >         >> --
> >         >> Alejandro Caires
> >         >
> >         >
> >         >
> >         > --
> >         > Alejandro Caires
> >         >
> >         > _______________________________________________
> >         > gstreamer-devel mailing list
> >         > gstreamer-devel at lists.freedesktop.org
> >         >
> >         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >         >
> >         >
> >
> >
> >
> >
> >         --
> >           Levente                               "Si vis pacem para
> >         bellum!"
> >         _______________________________________________
> >
> >
> >         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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110506/4ce6c08f/attachment.htm>


More information about the gstreamer-devel mailing list