[gst-devel] How to introduce some buffering
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Thu Nov 23 15:36:55 CET 2006
Aren't you really looking for a jitter buffer rather than a queue?
There is one in farsight's repository: http://farsight.sourceforge.net/
I have not used it myself, so I do not know its capabilities.
//Peter
> -----Original Message-----
> From: gstreamer-devel-bounces at lists.sourceforge.net
> [mailto:gstreamer-devel-bounces at lists.sourceforge.net] On
> Behalf Of Michal Benes
> Sent: Thursday, November 23, 2006 14:17
> To: Fabrice Triboix
> Cc: gstreamer-devel at lists.sourceforge.net
> Subject: Re: [gst-devel] How to introduce some buffering
>
>
> Fabrice Triboix píše v Čt 23. 11. 2006 v 07:40 -0500:
> > Thank you for the reply, Dan.
> >
> > I also had a look at the queue element, but given the
> definition of min-threshold-time, I wonder if the amount of
> time buffered can ever can lower that this value...
> > If no, this is of no use for me. For example, it may be the
> case that I don't receive any RTP packet for 1 second, but
> the media should continue to play during that time, consuming
> the buffered data.
> >
> > Could you (or somebody else) confirm my understanding?
>
> Hi,
>
> as far as I do understand the queue code, your understanding is
> correct. I think what you want to do is to connect to queue 'running'
> callback, it is called when min-threshold-time is reached, then lower
> min-threshold-time to 0 and connect to 'underrun' signal.
> When underrun
> is fired, set min-threshold-time to 1 second again a display some nice
> buffering message to the user.
>
> Michal
>
> > Thank you very much!
> >
> > Fabrice
> >
> >
> > ----- Original Message ----
> > From: daniel fischer <dan at f3c.com>
> > To: gstreamer-devel at lists.sourceforge.net
> > Sent: Thursday, November 23, 2006 12:31:32 PM
> > Subject: Re: [gst-devel] How to introduce some buffering
> >
> > Fabrice Triboix <gstdbg at yahoo.com> (on Thu, 23 Nov 2006
> 03:15:06 -0800 (PST)):
> >
> > > There is probably an easy way to do that, could anybody
> tell me how?
> >
> > i've no experience, but it sounds like you want ... ! queue
> min-threshold-time=1000000 ! ...
> >
> > -dan
More information about the gstreamer-devel
mailing list