How to remove a source of a Adder while playing?

Lucas Alberto lucasa at gmail.com
Sun Apr 10 13:45:28 PDT 2011


Hi E-J,

I tried the liveadder and now the action of removing a source is OK.
Your code really helped me.
But, as described in my previously message, now I have trouble when
dynamically adding live sources to liveadder, it's dropping the
buffers.

Lucas

> Message: 3
> Date: Fri, 8 Apr 2011 07:04:37 +0200
> From: E-J van der Linden <EJvanderLinden at hetnet.nl>
> Subject: Re: How to remove a source of a Adder while playing?
> To: Discussion of the development of and with GStreamer
>        <gstreamer-devel at lists.freedesktop.org>
> Message-ID: <1B6829FF-E9F3-4FA4-BABE-DCFBE10E0E44 at hetnet.nl>
> Content-Type: text/plain; charset="us-ascii"
>
> Lucas,
>
> First try the option sync=false for the alsasink at the end of the pipeline.
>
> If no success try to use the liveadder.
>
> I had the same problem and I solved it with the liveadder. You can not solve it with a "static" gst-launch command, you have to write a program yourself.
> The programs I made (source and linux executables) are attached as source for inspiration.
>
> The sender sends MP3 file to a RTP network stream.
> The receiver may receive multiple network streams (of multiple senders from different machines) and mixes these streams.
> If new streams arrive or old streams are removed, the corresponding mixer pads are created/removed dynamically.
>
> Be aware that liveadder seems to have a "big" memory leak, or my program is wrong (see bug report https://bugzilla.gnome.org/show_bug.cgi?id=647055)
> If you make better versions of them please let me know!
>
> E-J
>


More information about the gstreamer-devel mailing list