Element that plays silence when stream stops?

marcin at saepia.net marcin at saepia.net
Wed Jul 6 18:21:01 UTC 2016


Thanks Nicolas,

how is it going to determine "liveness" of the sources? My livemixer is
preceeded by multiqueue, and each source is wrapped in the bin. Source
itself (shmsrc) has is-live set to true - is it enough?

Marcin

2016-07-06 14:40 GMT+02:00 Nicolas Dufresne <nicolas.dufresne at gmail.com>:

> Le mercredi 06 juillet 2016 à 13:13 +0200, marcin at saepia.net a écrit :
> > I am developing an app in which I use shmsink/shmsrc to communicate
> > between processes. They send audio to each other.
> >
> > If data in the sender is not flowing (e.g. I fetch file over HTTP and
> > the transfer is temporarily stopped) the shmsrc also stops, as
> > there's no data to consume.
> >
> > I would prefer that it keeps going and playing silence. Is there any
> > element for this? (maybe audiorate?)
>
> It's not designed for this, though if your pipeline is live, audiomixer
> will keep producing even if the source(s) stops. This only works with
> live sources, so maybe use it in front of shmsrc ?
>
> Nicolas
> _______________________________________________
> 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/20160706/e1b543e9/attachment.html>


More information about the gstreamer-devel mailing list