Created
March 9, 2017 11:14
-
-
Save chebykin/d577bdd455390868f0208456f582ecd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUDIO_CAPS="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)X-GST-OPUS-DRAFT-SPITTKA-00" | |
# listen | |
gst-launch-1.0 udpsrc caps=$AUDIO_CAPS port=33258 ! \ | |
rtpopusdepay ! opusdec plc=true ! autoaudiosink | |
# stream | |
gst-launch-1.0 -vvvvv audiotestsrc ! audioconvert ! opusenc ! rtpopuspay ! udpsink port=33258 host=<your IP> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment