Created
May 12, 2021 13:05
-
-
Save shimomura1004/321158865fcf3af849d6dbf2d80f1310 to your computer and use it in GitHub Desktop.
audio streaming with rtp
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
GST_DEBUG=2 gst-launch-1.0 -vvv filesrc location=test.mp3 ! decodebin ! audioconvert ! rtpL24pay ! udpsink host=192.168.0.194 port=5000 |
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
# caps の内容は、emitter を実行したときにログにでてくる | |
GST_DEBUG=2 gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp,media=(string)audio,clock-rate=(int)44100,encoding-name=(string)L24,encoding-params=(string)2,channels=(int)2,payload=(int)96,ssrc=(uint)2854973375,timestamp-offset=(uint)3308935138,seqnum-offset=(uint)13214" ! rtpL24depay ! audioconvert ! autoaudiosink sync=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment