How to configure gstreamer for herelink network?

I have a banana pi zero m2 running armbain bullzeye acting as a gstreamer server that is connected to the herelink air unit via ethernet. The setup has a usb camera that encodes the video in h.264 connected to it.

I have assigned the pi a static ip address of 192.168.144.53 and gateway of 192.168.144.1

I am able to ping the pi from the herelink controller with termux and packets are sent and received.

I am using the following command to generate the gstreamer pipeline:

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=640,height=480,framerate=30/1 ! h264parse ! rtph264pay name=pay0 pt=96 ! udpsink host=192.168.144.11 port=5600

I set the video streaming settings in QGC to: UDP h.264 Video Streaming, Port: 5600

But I cannot get the feed to come through in QGC running on the controller.

This same setup works on a local network (not herelink network) when I assign an IP address for a PC running QGC. The feed is detected and displayed in QGC.

I cannot figure out what is wrong with my setup.

Any assistance would be greatly appreciated.

1 Like

Solved. Don’t use udp.

Hi,

Instead of UDP, what are you using here for streaming !!