How to send Video-Audio together in network using RTP packetization

arpi d reachtoarpi at
Sun Jul 31 16:32:05 PDT 2011

My command line code(using gst-launch or shell script) is working fine for
Audio and Video over the network.

But ,How to use g_signal_connect() in client side to connect rtpbin with
videodepayloader or audiodepayloader.

command line code:
gst-launch -v gstrtpbin name=rtpbin latency=$LATENCY                  \
   udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0         \
   rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK                               \
   udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0                         \
   rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=$DEST sync=false

but,In C language when I am writing I am using g_signal_connect()  to
connect rtpbin with depayloader both case for audio and video.

But,am getting error
new payload on pad: recv_rtp_src_0_511525528_96
ERROR:client_H264_AAC.c:92:on_pad_added: assertion failed: (lres ==

Please reply.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list