Some notes about gstreamer
This commit is contained in:
parent
441bf83c6c
commit
68d830c967
1 changed files with 22 additions and 2 deletions
24
README.md
24
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue