blob: 1426dc0c1c43f66bc9e1f03a493dde191ae3118d (
plain)
- #!/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"}
|