<div dir="ltr"><div><div>Hello!<br><br></div>I'm working with a embedded linux and I'm using gstreamer to talk with other board (voice call).<br><br></div>To test and evaluate my project I'm using the IMX6SABRE Dual Lite Board<br> (<a href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/sabre-board-for-smart-devices-reference-design-based-on-the-i.mx-6-series:RDIMX6SABREBRD">http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/i.mx6qp/sabre-board-for-smart-devices-reference-design-based-on-the-i.mx-6-series:RDIMX6SABREBRD</a>)<br><br clear="all"><div><div> have the pulseaudio , speex and webrtc installed in my oard,  but with my tests I didn't have success with echo cancellation<br><br>In my testbed I'm using two boards in different rooms, each board has 
the same softwares, to test the voice call I'm using a script with 
gstreamer.<br><div><br></div><div>There's some method to test and evaluate the echo cancellation in embedded environment? Someone has an advice?<br></div><div></div><div><br></div><div>I'm loading the module-echo-cancel using this command<br><br>pactl load-module module-echo-cancel source_name=echosource 
sink_name=echosink aec_method=webrtc sink_master=mastersink 
source_master=mastersource<br><br></div><div>(I change the webrtc to speex in other tests)<br><br></div><div>The Gstreamer Script (usage ./gstreamer-call.sh ip start)<br><br>    #!/bin/sh<br>    IPDEST=$1  <br>      <br>    case "$2" in  <br>       start)  <br>             echo "Starting gstlaunch"  <br>                    gst-launch-1.0 -v \  <br>                            pulsesrc device="echosource"  \  <br>                    ! alawenc ! rtppcmapay ! udpsink port=4000 host=$IPDEST &  <br>                    gst-launch-1.0 -v udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA" port=4000 ! \  <br>                            rtppcmadepay ! alawdec ! audioconvert ! audioresample ! \  <br>                            pulsesink device="echosink" \  <br>                    &  <br>      <br>      <br>      <br>       stop)  <br>              echo "Stopping gstlaunch"  <br>                    killall gst-launch-1.0  <br>               ;;  <br>            *)  <br>              echo "Usage: $0 <ipaddress> start|stop"  <br>              exit 1  <br>              ;;  <br>    esac <br></div><div><br></div><div><br><br></div><div>Thank you very much!<br><br></div><div>Best Regards,<br><br></div><div>Caio Pereira<br><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div>----------------------------------------------<br>Caio Pereira<br></div><div>@caio_rtp<br></div></div></div>
</div></div></div></div>