GNOME Bugzilla – Bug 701238
Interaudio sink/src pair, seems to push last received buffer, instead of silence
Last modified: 2014-12-11 01:27:37 UTC
Seems to push last received buffer or part of it, instead of silence when audio streaming stops, in order to replicate after starting the pipeline 2 and pipeline 3, start pipeline 1, after few seconds terminate both the 2 and 3. Terminal-1 ---------- AUDIO_CAPS="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)X-GST-OPUS-DRAFT-SPITTKA-00" gst-launch-1.0 udpsrc caps=$AUDIO_CAPS port=5555 ! rtpbin ! \ rtpopusdepay ! opusdec ! audio/x-raw, rate=48000, channels=1,\ format=S16LE ! audioconvert ! interaudiosink channel=s2 \ enable-last-sample=false interaudiosrc channel=s2 ! tee name=asrc \ asrc. ! queue ! wavescope ! videoconvert ! xvimagesink sync=false \ asrc. ! queue ! amix. udpsrc caps=$AUDIO_CAPS port=6666 ! rtpbin ! \ rtpopusdepay ! opusdec ! audio/x-raw, rate=48000, channels=1, \ format=S16LE ! audioconvert ! interaudiosink \ enable-last-sample=false channel=s1 interaudiosrc do-timestamp=true \ channel=s1 ! amix. adder name=amix ! alsasink sync=false Terminal-2 ---------- gst-launch-1.0 -vvv audiotestsrc wave=8 ! opusenc ! rtpopuspay pt=96 ! udpsink port=5555 Terminal-3 --------------- gst-launch-1.0 -vvv audiotestsrc wave=3 ! opusenc ! rtpopuspay pt=96 ! udpsink port=6666
Thanks for the bug report, sorry it took so long until someone looked at it. I think this was likely fixed in recent interaudio sink/src bug-fixing sprees/refactorings, I can certainly not reproduce it any more as per your instructions. Please re-open if it's still an issue with 1.4 or git master.