Cannot bind udpsink to IPv4 address, which is incorrectly treated as an IPv6 one
Submitted by Daniel F
Link to original bug (#795502)
Description
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.
uname -a
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
gst-launch-1.0 version 1.10.4
GStreamer 1.14.0
http://www.redhat.com
Version: 1.14.0