Aren't you really looking for a jitter buffer rather than a
queue?
There is one in farsight's repository: http://farsight.sour
ceforge.net/
I have not used it myself, so I do not know its
capabilities.
//Peter
> -----Original Message-----
> From: gstreamer-devel-bounces lists.sourceforge.net
> [mailto:gstreamer-devel-bounces lists.sourceforge.net] On
> Behalf Of Michal Benes
> Sent: Thursday, November 23, 2006 14:17
> To: Fabrice Triboix
> Cc: gstreamer-devel 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 f3c.com>
> > To: gstreamer-devel lists.sourceforge.net
> > Sent: Thursday, November 23, 2006 12:31:32 PM
> > Subject: Re: [gst-devel] How to introduce some
buffering
> >
> > Fabrice Triboix <gstdbg 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
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstream
er-devel
|