diff --git a/README.md b/README.md index 9c114ae..7257ba6 100644 --- a/README.md +++ b/README.md @@ -252,4 +252,18 @@ gst-launch-1.0 \ rtpopusdepay ! \ opusdec plc=true use-inband-fec=false ! \ pulsesink + +# both sides with echo cancellation +export TARGET=192.168.1.1 +gst-launch-1.0 \ + pulsesrc ! \ + audioconvert ! \ + opusenc audio-type=voice inband-fec=false frame-size=20 ! \ + rtpopuspay ! \ + udpsink host=$TARGET port=5000 \ + udpsrc port=5000 caps="application/x-rtp" ! \ + rtpjitterbuffer do-lost=true do-retransmission=false ! \ + rtpopusdepay ! \ + opusdec plc=true use-inband-fec=false ! \ + pulsesink ```