diff options
Diffstat (limited to 'tests/examples/rtp/server-alsasrc-PCMA.sh')
-rwxr-xr-x | tests/examples/rtp/server-alsasrc-PCMA.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/examples/rtp/server-alsasrc-PCMA.sh b/tests/examples/rtp/server-alsasrc-PCMA.sh new file mode 100755 index 00000000..202e156a --- /dev/null +++ b/tests/examples/rtp/server-alsasrc-PCMA.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# A simple RTP server +# + +gst-launch -v gstrtpbin name=rtpbin \ + alsasrc ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_0 \ + rtpbin.send_rtp_src_0 ! udpsink port=5000 \ + rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false \ + udpsrc port=5003 ! rtpbin.recv_rtcp_sink_0 |