From a3af4ffc3b39a2851b461a63e7607fa82a18c536 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 4 Nov 2019 21:17:20 +0100 Subject: [PATCH] Add --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e5e0a2..67c77b1 100644 --- a/README.md +++ b/README.md @@ -253,8 +253,24 @@ gst-launch-1.0 \ opusdec plc=true use-inband-fec=false ! \ pulsesink -# both sides with echo cancellation +# both sides export TARGET=192.168.1.1 +gst-launch-1.0 \ + autoaudiosrc ! \ + queue ! \ + audioresample ! \ + opusenc audio-type=voice inband-fec=FALSE frame-size=20 bitrate=64000 dtx=TRUE ! \ + rtpopuspay ! \ + udpsink host=$TARGET port=5000 async=FALSE \ + udpsrc port=5000 caps="application/x-rtp" ! \ + rtpjitterbuffer do-lost=TRUE do-retransmission=FALSE latency=10 ! \ + rtpopusdepay ! \ + opusdec plc=TRUE use-inband-fec=FALSE ! \ + audioresample ! \ + autoaudiosink + +# both sides with echo cancellation +export TARGET=192.168.1.1 gst-launch-1.0 \ autoaudiosrc ! \ webrtcdsp ! \