Skip to content

Problems parsing udp:// URLs

From Valentin Gosu, in vlc-devel

Hi VLC developers,

I work on the Firefox networking stack. Recently Firefox (and Chrome) switched our URL parsers for non-special schemes to be more in line with the URL Standard [1]. However this caused issues for VLC users, when clicking udp:// links that are supposed to be opened in VLC [2]. For now we've added an exception for udp URLs, but some webdevelopers are using the udp scheme for other purposes [3]

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?

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].

Thanks!

Edited by Thomas Guillem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information