Using liveadder

John Westing john.blank.westing at gmail.com
Thu May 9 09:54:19 PDT 2013


Thank you for the response.

> It should mix them. If they are identical, that will probably result in
> doubling the volume. It's called adder because the mixing algorithm is
> to add the samples together.

Apologies, I meant the streams are identical in capabilities, not audio. It
doesn't work for me. The first stream that passes through liveadder plays
but the second does not, even if I pause the first and only play the
second. 2 channel, 44.1 KHz audio, 16 bits, default latency.


On Thu, May 9, 2013 at 12:26 PM, Olivier Crête
<olivier.crete at collabora.com>wrote:

> On Thu, 2013-05-09 at 09:51 -0400, John Westing wrote:
> > 1) What buffer timestamp input requirements does liveadder have?
>
> Timestamps must be valid.
>
> > 2) Why does liveadder buffer audio?
>
> The use-case that liveadder was designed for is RTP streams where you
> have multiple discontinuous streams arriving in real-time. So if you
> have two pads, you want to output a buffer if you have one one either
> pad (because you're not guaranteed to have one on both), but you also
> want to make sure to properly mix if you have data on both.
>
>
> > 3) When I have 2 identical streams into liveadder why does only 1
> > play?
>
> It should mix them. If they are identical, that will probably result in
> doubling the volume. It's called adder because the mixing algorithm is
> to add the samples together.
>
> > 4) Does liveadder try to synchronize multiple streams?
>
> Yes, unlike adder, liveadder takes great pain to make sure incoming
> streams are synchronized before they are mixed.
>
> --
> Olivier Crête
> olivier.crete at collabora.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130509/16804458/attachment-0001.html>


More information about the gstreamer-devel mailing list