I'm new to Gstreamer and for some reason the quality of my stream is off. It looks like there are some packet loss. I created a pipeline on my Raspberry Pi 2 and another pipeline on my PC. Could someone explain to me why is this happening and/or how to make it better? The image starts completely gray but I can shake off the gray until it looks better but there still some packet loss.
Raspberry Pi 2 Pipeline:
#!/bin/bash
clear
raspivid -n -t 0 -rot 270 -w 960 -h 720 -fps 30 -b 6000000 -o - | gst-launch-1.0 -e -vvvv fdsrc ! h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink host=***YOUR_PC_IP*** port=5000
PC Pipeline:
gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false text-overlay=false