Cannot bind udpsink to IPv4 address, which is incorrectly treated as an IPv6 one
Submitted by Daniel F
I am trying to bind udpsink to local IPv4 address, but for some reason this address is treated as an IPv6 one, and udpsink complains about incorrect address family.
gst-launch-1.0 -v udpsink bind-address="192.168.100.20"
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(1286): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Invalid address family (got 10)
Setting pipeline to NULL ...
Freeing pipeline ...
I have CentOS 7.4 64-bit.
Linux daniel.localdomain 3.10.0-693.21.1.el7.x86_64
#1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
gst-launch-1.0 version 1.10.4