From 5741b1893d3c6cf3c35a3872d5762667b97d5aeb Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 27 Sep 2019 13:37:00 +0200 Subject: [PATCH] gstreamer pipeline --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 ```