summaryrefslogtreecommitdiffstats
path: root/tests/examples/rtp/server-alsasrc-PCMA.sh
blob: 202e156ab071ef45e99cf3d41ee3a475085aeb76 (plain)
1
2
3
4
5
6
7
8
9
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