JP5 - gstreamer udpsink defaults to IPv6 for localhost - Use address=::1 for udpsrc

Hi everyone,

Just sharing that I’ve been surprized to see that some basic gstreamer pipelines streaming by default to localhost were no longer working in JP5.
Seems localhost is turnt into IPv6 localhost in udpsink, so receiver udpsrc should specify address=::1 property.


gst-launch-1.0 videotestsrc ! nvvidconv ! nvv4l2h264enc insert-sps-pps=1 idrinterval=30 insert-vui=1 ! h264parse ! rtph264pay ! udpsink


gst-launch-1.0 udpsrc address=::1 ! application/x-rtp,encoding-name=H264 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! xvimagesink

Or specify host= in udpsink for using IPv4.

Hope this helps.

1 Like

Hi Honey Patouceul,
Thanks for your sharing. We upgrade gstreamer version to 1.16.3 and this can be the default setting in UDP. The information is very useful.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.