[gst-devel] comfort noise generation bin

Olivier Crête olivier.crete at collabora.co.uk
Thu Apr 29 19:28:02 CEST 2010


On Thu, 2010-04-29 at 20:04 +0300, Marco Ballesio wrote:
> 
> 
> 2010/4/27 Olivier Crête <olivier.crete at collabora.co.uk>
>
>         So the start isn't too hard to guess. The problem is that the
>         every decoder then needs to have a thread started when a CN
>         packet is
>         received that will generate the frames until it is stopped.
>         And then the
>         decoder may not know it should really stop if the use switched
>         codecs
>         during a silence period.
> 
> I would like to move the feature outside the decoder, as I was
> proposing in my original email I was thinking to something like the
> dtmf generator.  The bin can be controlled from the depayloader /
> decoder through well defined APIs (properties? events?). This way we
> have a unique control point for the extra-source with all the benefits
> coming from that like e.g. code re-usability (and we know a bad
> implementation may make the thread run forever, using unexpected
> CPU/power, etc).

What about codecs like Speex that provide their own CN (possibly
differently from G711+CN or G729 ...) ?

My idea to do it in the mixer is mostly the same as your bin idea (just
using an elemnet with events instead of a bin with messages).


-- 
Olivier Crête
olivier.crete at collabora.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100429/c292db5d/attachment.pgp>


More information about the gstreamer-devel mailing list