Hi everyone!
I'm streaming audio between two devices through lan network by using gstreamer. These two device using dm3730 and embedded Linux on. Each device has a speaker and a mic to stream audio.
Now, I streamed audio successfully between these devices but just half duplex, with the following command:
On the device1:
gst-launch-0.10 -v alsasrc device=plughw:omap3beagle ! mulawenc ! rtppcmupay ! udpsink host=10.2.64.255 port=5000 &
On the device2:
gst-launch-0.10 -v udpsrc port=5000 caps="application/x-rtp" \
! queue ! rtppcmudepay ! mulawdec ! audioconvert ! audiochebband mode=band-pass lower-frequency=1000 upper-frequency=4000 type=2 ! audioconvert ! autoaudiosink sync=false &
But when I used these following command to stream full-duplex, then echo and noise appeared:
On device 1:
gst-launch-0.10 -v alsasrc device=plughw:omap3beagle ! mulawenc ! rtppcmupay ! udpsink host=10.2.64.255 port=5000 &
gst-launch-0.10 -v udpsrc port=5002 caps="application/x-rtp" \
! queue ! rtppcmudepay ! mulawdec ! audioconvert ! audiochebband mode=band-pass lower-frequency=1000 upper-frequency=4000 type=2 ! audioconvert ! autoaudiosink sync=false &
On device 2:
gst-launch-0.10 -v alsasrc device=plughw:omap3beagle ! mulawenc ! rtppcmupay ! udpsink host=10.2.64.255 port=5002 &
gst-launch-0.10 -v udpsrc port=5000 caps="application/x-rtp" \
! queue ! rtppcmudepay ! mulawdec ! audioconvert ! audiochebband mode=band-pass lower-frequency=1000 upper-frequency=4000 type=2 ! audioconvert ! autoaudiosink sync=false &
Is there any gstreamer'plugins to reduce or filter echo and noices?
Best Regard !
Hibk