My command line code(using gst-launch or shell script) is working fine for Audio and Video over the network.<div><br></div><div>But ,How to use g_signal_connect() in client side to connect rtpbin with videodepayloader or audiodepayloader.</div>
<div><br></div><div>command line code:</div><div><div>gst-launch -v gstrtpbin name=rtpbin latency=$LATENCY \</div><div> udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \</div><div> rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \</div>
<div> udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \</div><div> rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=$DEST sync=false async=false</div></div><div><br></div><div>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.</div>
<div><br></div><div>But,am getting error </div><div><div>new payload on pad: recv_rtp_src_0_511525528_96</div><div>**</div><div>ERROR:client_H264_AAC.c:92:on_pad_added: assertion failed: (lres == GST_PAD_LINK_OK)</div><div>
Aborted</div></div><div><br></div><div>Please reply.</div>