Skip to content

Instantly share code, notes, and snippets.

@rroohhh
Created February 3, 2017 21:21
Show Gist options
  • Select an option

  • Save rroohhh/b2f44e5930ee2cf0c3da928bfb4da1d2 to your computer and use it in GitHub Desktop.

Select an option

Save rroohhh/b2f44e5930ee2cf0c3da928bfb4da1d2 to your computer and use it in GitHub Desktop.

Revisions

  1. rroohhh created this gist Feb 3, 2017.
    2 changes: 2 additions & 0 deletions client.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    #!/bin/bash
    gst-launch-1.0 -v udpsrc uri=udp://239.1.1.1:5000 caps="application/x-rtp,channels=(int)2,format=(string)S16LE,media=(string)audio,payload=(int)96,clock-rate=(int)44100,encoding-name=(string)L24" ! rtpL24depay ! audioconvert ! autoaudiosink sync=false
    2 changes: 2 additions & 0 deletions server.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    #!/bin/bash
    gst-launch-1.0 -v autoaudiosrc ! audioconvert ! rtpL24pay ! udpsink host=239.1.1.1 auto-multicast=true port=5000