[gst-devel] newbie help for gstrtpbin

Emre Turkay emreturkay2 at gmail.com
Mon Aug 17 16:18:53 CEST 2009

Hi folks,

I'm trying to make voice communication over IP (in windows). I've got to work
the PCMA example from the gst sources. However the received sound is not
continuous and it causes problem. I couldn't find much documentation on
the web, by the way.

Any suggestion on how to use? 

These are the sender and receiver scripts I'm using:

set DEST=
set AELEM=audiotestsrc
set ASOURCE="%AELEM% ! audioconvert"
set AENC="alawenc ! rtppcmapay"
gst-launch-0.10 -v gstrtpbin name=rtpbin %ASOURCE% ! %AENC% ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5002 host=%DEST% rtpbin.send_rtcp_src_0 ! udpsink port=5003 host=%DEST% sync=false async=false udpsrc port=5007 ! rtpbin.recv_rtcp_sink_0

set AUDIO_CAPS="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA"
set DEST=
gst-launch-0.10 -v gstrtpbin name=rtpbin udpsrc caps=%AUDIO_CAPS% port=5002 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtppcmadepay ! alawdec !  audioconvert ! audioresample ! directsoundsink udpsrc port=5003 !  rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5007 host=%DEST% sync=false async=false



More information about the gstreamer-devel mailing list