How to remove a source of a Adder while playing?
Lucas Alberto
lucasa at gmail.com
Sun Apr 10 13:30:12 PDT 2011
Hi Tim,
Thanks for the answer.
Now I can add new sources to a Adder element, it works just as simple
as you wrote.
But I got another problem when I tried to dinamically connect live
sources (rtmpsrc) to a Liveadder element. It's dropping all the new
source's buffers because they has late timestamps.
Do you or another gstreamer master knows how to timestamp the input
buffers to the running time?
I can't pause the pipeline because the audio processing has to be gapless.
Lucas Alberto
> Message: 2
> Date: Fri, 08 Apr 2011 09:28:18 +0100
> From: Tim-Philipp M?ller <t.i.m at zen.co.uk>
> Subject: Re: How to remove a source of a Adder while playing?
> To: gstreamer-devel at lists.freedesktop.org
> Message-ID: <1302251298.24722.2.camel at zingle>
> Content-Type: text/plain; charset="UTF-8"
>
> On Fri, 2011-04-08 at 00:06 -0300, Lucas Alberto wrote:
>
> Hi Lucas,
>
>> I'm trying to remove dynamically a audio input that is linked to a
>> Adder element. Does someone know how to remove a source element and
>> let the Adder continue mixing the other sources?
>>
>> I've googled a lot to find the answer but I only found references to
>> removing a branch of a "Tee". I don't know how to adapt the steps used
>> in the "Tee case" because the Adder element is the inverse of a Tee.
>
> Have you tried just unlinking the input you don't need any longer and
> then releasing the now-unlinked adder pad using
> gst_element_release_request_pad() ?
>
> Cheers
> -Tim
>
More information about the gstreamer-devel
mailing list