#!/bin/sh # Receive live video/audio media set -e URI=${URI:-${1:-rtsp://127.0.0.1:8554/cam0}} VSINK=${VSINK:-autovideosink} ASINK=${ASINK:-autoaudiosink} gst-launch-1.0 playbin -v uri="$URI" ${VSINK:+video-sink="$VSINK"} latency=0 ${ASINK:+audio-sink="$ASINK"}