Mix two asynchronous audio sources

paul.goulpie paul at goulpie.com
Fri Oct 7 10:23:29 UTC 2016


Hello, I try to create a pipeline that contains two audio sources are mixed
on a single audio output.
I realized this with the adder module.
Nominal way everything works fine:

gst-launch-1.0 \
audiotestsrc name='src1' ! adder0. \
udpsrc  name='src2' caps="application/x-rtp,payload=11,clock-rate=44100"
port=4446 ! rtpL16depay ! audioconvert ! adder0. \
adder ! autoaudiosink

My problem occurs when the udp source (src2) stop its spread. This causes me
a complete shutdown of all the pipeline.
Is there a way around this blockage: continue the distribution of the source
when the source udp (src2) stops its distribution and resume mixing the two
sources when the udp source (src2) resumed broadcasting.

Thank you for your response.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Mix-two-asynchronous-audio-sources-tp4679989.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list