#!/bin/bash
PORT=$1
if [ -z "${PORT}" ]; then
	PORT=5000
fi

gst-launch-1.0 udpsrc port=${PORT} \
	! h264parse config-interval=-1 \
	! avdec_h264 \
	! autovideosink
