AntonioPolicicchio Hello Sir. In my case I do not have 2 sim cards with public IP so I decided to run setup base on UDP connection only, not TCP.
on drone side you can type:
raspivid -n -w 864 -h 480 -b 750000 -fps 25 -t 0 -o - | \
gst-launch-1.0 --gst-debug-level=0 -v \
fdsrc ! \
h264parse ! \
rtph264pay config-interval=10 pt=96 ! \
udpsink host=xxx.xxx.xxx.xxx port=5600
where xxx.xxx.xxx.xxx should be address of your MP
on laptop (MP side) you can test pipleline using following script:
c:/gstreamer/1.0/x86_64/bin/gst-launch-1.0.exe -e -v udpsrc port=5600 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false text-overlay=false
- change path if you are using 32bit version.