diff --git a/README.md b/README.md index bee1227..404d69b 100644 --- a/README.md +++ b/README.md @@ -256,14 +256,15 @@ gst-launch-1.0 \ # both sides with echo cancellation export TARGET=192.168.1.1 gst-launch-1.0 \ - udpsrc port=5000 caps="application/x-rtp" ! \ - rtpjitterbuffer do-lost=true do-retransmission=false ! \ - rtpopusdepay ! \ - opusdec plc=true use-inband-fec=false ! \ - autoaudiosink \ autoaudiosrc ! \ - audioconvert ! \ - opusenc audio-type=voice inband-fec=false frame-size=20 ! \ + audioresample ! \ + opusenc audio-type=voice inband-fec=FALSE frame-size=20 ! \ rtpopuspay ! \ - udpsink host=$TARGET port=5000 + udpsink host=$TARGET port=5000 async=FALSE + udpsrc port=5000 caps="application/x-rtp" ! \ + rtpjitterbuffer do-lost=TRUE do-retransmission=FALSE ! \ + rtpopusdepay ! \ + opusdec plc=TRUE use-inband-fec=FALSE ! \ + audioresample ! \ + autoaudiosink \ ```