After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 701238 - Interaudio sink/src pair, seems to push last received buffer, instead of silence
Interaudio sink/src pair, seems to push last received buffer, instead of silence
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.0.7
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-30 04:06 UTC by k.althaf
Modified: 2014-12-11 01:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description k.althaf 2013-05-30 04:06:33 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
Comment 1 Tim-Philipp Müller 2014-12-11 01:27:37 UTC
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.