gstudpnetutils.c:69:gst_udp_parse_uri: parse IPV4 address '::1:50001'
Hello,
I was trying to open a RTSP stream from rtsp://[user]:[pass]@localhost:8554
just today, and found out that gstreamer resolves localhost
as ::1
and then fails in gst_udp_parse_uri
because it assumes that IPv6 addresses are wrapped in []
there.
That being said, as I don't have a development environment set up for gstreamer (yet), I couldn't investigate more to figure out where that hostname resolution happens to add the brackets at the right place… sorry about it!
As a workaround, just hardcoding the IPv4 address of the RTSP server works.
Hope that helps! Leo