Some notes about gstreamer

This commit is contained in:
Quentin 2019-09-27 11:05:48 +02:00
parent 441bf83c6c
commit 68d830c967

View file

@ -230,6 +230,26 @@ docker run \
http://gstreamer-devel.966125.n4.nabble.com/Need-help-with-using-OPUS-over-RTP-td4661409.html
```
gst-launch-1.0 pulsesrc ! audioconvert ! opusenc ! rtpopuspay ! udpsink host=127.0.0.1 port=5000
gst-launch-1.0 udpsrc port=5000 ! rtpopusdepay ! opusdec ! pulsesink
# some sources
audiotestsrc
pulsesrc
# some sinks
pulsesink
# sender
gst-launch-1.0 \
pulsesrc ! \
audioconvert ! \
opusenc audio-type=voice inband-fec=false frame-size=20 ! \
rtpopuspay ! \
udpsink host=127.0.0.1 port=5000
# receiver
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 ! \
pulsesink
```