RTP server and client

aft aftnix at gmail.com
Sun Feb 9 23:20:40 PST 2014


Hi,

I'm trying to tryout out the following two pipelines :

[1] RTP server :

      $ gst-launch-0.10 -v gstrtpbin name=rtpbin \
       autiotestsrc ! audioconvert !alawenc !rtppcmapay !
rtpbin.send_rtp_sink_0  \
             rtpbin.send_rtp_src_0 ! udpsink port=5002 host=127.0.0.1

[2] RTP client :
  gst-launch-0.10 -v gstrtpbin name=rtpbin
                   \
            udpsrc
caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA"
port=5002 ! rtpbin.recv_rtp_sink_0
 rtpbin.     ! rtppcmadepay ! alawdec !audioconvert ! audioresample
!autoaudiosink

 Both pipeline are running, but nothing is happened, i can't hear the
"beep" tone generated from audiotestsrc.

-Cheers
-Arif


More information about the gstreamer-devel mailing list