Stream swithcing dynamically

Kyle Pennington clowd81 at gmail.com
Mon Jun 6 18:55:08 UTC 2016


Try using blocking pad probes to block on the source or sink corresponding
to the audio source you want to enable/disable.  These can be installed and
removed during runtime when using C or python based pipelines.

I use something like gst_pad_add_probe(<src_or_sink_pad>,
GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, <audio_probe_cb>, NULL, NULL); in my
application.

On Mon, Jun 6, 2016 at 2:17 PM, Natanael Mojica <neithanmo at gmail.com> wrote:

> Hi..
>
> Do you want to do differents paths and encoding settings for each audio
> stream??and then select between  then for feeding the audio sink??
> If it is the case, audio mixer is a good option, you can set the mute
> property dinamically..
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160606/8dd81e2b/attachment.html>


More information about the gstreamer-devel mailing list