Loss of interleaved stereo audio after ~20 Minutes

Tim Müller tim at centricular.com
Tue Jun 5 09:52:33 UTC 2018


On Mon, 2018-06-04 at 16:11 -0700, Wilkins White wrote:

Hi,

> We have a robot that uses gstreamer to send back audio and video data
> over rtp.  Video works great, but we've been having trouble with the
> stereo audio.
> 
> The audio is clear when we first boot up, but after awhile we start
> to lose packets until there's nothing but static coming through.  If
> we kill the pipeline and restart everything is clear once more.  The
> problem is repeatable in our lab with the bot connected via Ethernet,
> so it's not a bandwidth issue.
> 
> This is my pipeline

Your pipeline didn't make it to the mailing list, and I can't see it on
  the nabble web page either.

It would be helpful if you could describe your sender pipeline and your
receiver pipeline/application.

> And here is the error once the pipeline starts to fail.

Same for this.


> I went through and trimmed elements out of the pipeline until
> everything worked.  It seems like the culprit is the audiointerleave
> element.  Since only pulsesrc0 is dropping samples I assume that
> means pulsesrc1 is not producing audio fast enough, so the
> audiointerleave element is forced to wait for it.
> 
> Does anyone have advice on how I could improve my pipeline?  Perhaps
> make the audiointerleave element not block if it can't find a sample
> from one of the inputs? 

audiointerleave *should* already handle this properly, as it is based
on the aggregator base class, but maybe you need to set some extra
latency on it via the property, but again details of the pipeline and
the error message would help.

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list