Can you use the pipelines built on these codes with gst-launch command without problem? I'm trying the same thing and there is a delay in my streaming. I'm using these pipelines:<br><br>Server:<br><br>#!/bin/sh<br>
# change this to send the RTP data and RTCP to another host<br>
DEST=127.0.0.1<br>
<br>
# tuning parameters to make the sender send the streams out of sync. Can be used<br>
# ot test the client RTCP synchronisation.<br>
#VOFFSET=900000000<br>
VOFFSET=0<br>
AOFFSET=0<br>
<br>
# H264 encode from the source<br>
<br>
#VELEM="videotestsrc is-live=1 pattern=1"<br>
VELEM="v4l2src device=/dev/video0"<br>
<br>
#VCAPS="video/x-raw-yuv,width=<div id=":1ii">352,height=288,framerate=15/1"<br>
VCAPS="ffmpegcolorspace"<br>
VSOURCE="$VELEM ! $VCAPS"<br>
#VENC="ffenc_h263p ! rtph263ppay"<br>
VENC=" timeoverlay ! x264enc ! rtph264pay "<br>
<br>
VRTPSINK="udpsink port=5000 host=$DEST ts-offset=$VOFFSET name=vrtpsink"<br>
VRTCPSINK="udpsink port=5001 host=$DEST sync=false async=false name=vrtcpsink"<br>
VRTCPSRC="udpsrc port=5005 name=vrtpsrc"<br>
<br>
PIPELINE="gstrtpbin name=rtpbin<br>
$VSOURCE ! $VENC ! rtpbin.send_rtp_sink_2<br>
rtpbin.send_rtp_src_2 ! $VRTPSINK<br>
rtpbin.send_rtcp_src_2 ! $VRTCPSINK<br>
$VRTCPSRC ! rtpbin.recv_rtcp_sink_2"<br>
<br>
echo $PIPELINE<br>
<br>
gst-launch -v $PIPELINE<br>
<br>Client:<br>
</div>#!/bin/sh<br>
<br>
VIDEO_CAPS="application/x-rtp,<div id=":1ii">media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"<br>
<br>
DEST=127.0.0.1<br>
<br>
LATENCY=100<br>
<br>
gst-launch -v gstrtpbin name=rtpbin latency=$LATENCY<br>
\<br>
udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0<br>
\<br>
rtpbin. ! rtph264depay ! h264parse ! ffdec_h264 !<br>
autovideosink \<br>
udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0<br>
\<br>
rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5005<br>
sync=false async=false<br>
</div><br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br></blockquote></div><br>