1#!/bin/sh 2# 3# A simple RTP receiver 4# 5 6VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998" 7 8#DEST=192.168.1.126 9DEST=localhost 10 11VIDEO_DEC="rtph263pdepay ! avdec_h263" 12 13VIDEO_SINK="videoconvert ! autovideosink" 14 15LATENCY=100 16 17gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \ 18 udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 \ 19 rtpbin. ! $VIDEO_DEC ! $VIDEO_SINK \ 20 udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \ 21 rtpbin.send_rtcp_src_0 ! udpsink host=$DEST port=5005 sync=false async=false 22