Re: Problems parsing udp:// URLs
Rémi Denis-Courmont <[email protected]> Fri, 21 Mar 2025 18:54:43 +0200
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Organization | Remlab |
| Message-ID | <[email protected]> |
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 _______________________________________________ vlc-devel mailing list To unsubscribe or modify your subscription options: https://mailman.videolan.org/listinfo/vlc-devel