[vlc-devel] Problems parsing udp:// URLs
Rémi Denis-Courmont
remi at remlab.net
Fri Mar 21 16:54:43 UTC 2025
Hello,
Le keskiviikkona 19. maaliskuuta 2025, 12.57.31 UTC+2 Valentin Gosu a écrit :
> We would like to remove the exception for udp URLs, and let them be parsed
> according to the URL standard.
> Is it possible to change the way VLC parses udp URLs [4] so that it still
> works if the @ character isn't present?
The syntax is `udp://[SRC_IP][:SRC_PORT][@[DST_IP][:DST_PORT]]`. As you can
see, the @ is already optional, so I don't see how it could be removed without
breaking backward compatibility. And breaking compatibility would defeat the
sole purpose of the scheme. We deprecated the raw UDP protocol in favor of RTP
over 15 years ago. But people still insists on using it, and that's outside
our control.
> For example, for udp://@10.0.0.2:1234 the URL parser will remove the @ and
> turn it into udp://10.0.0.2:1234
> Another case that needs to be addressed is udp://@:1234 as it currently
> fails to parse with the URL standard [5].
You will need to elaborate what you expect from VLC, because this request
seems entirely unactionable to me.
--
Rémi Denis-Courmont
Tapiolan uusi kaupunki, Uudenmaan entinen Suomen tasavalta
More information about the vlc-devel
mailing list