[vlc-devel] [PATCH 1/7] Add mDNS Services Advertisement submodule (stub)

Marvin Scholz epirat07 at gmail.com
Fri Jul 26 18:03:43 CEST 2019



On 26 Jul 2019, at 17:55, Rémi Denis-Courmont wrote:

> 	Hi,
>
> Le perjantaina 26. heinäkuuta 2019, 14.54.58 EEST Marvin Scholz a 
> écrit :
>> I think in general what you want is to allow individual plugins to 
>> use
>> the service advertisement module(s) to advertise themselves or add
>> advertisements.
>
> We already have a service announcement API, or leftovers of it, in the 
> VLC
> core. It was not exactly a great success. I think the take-away is 
> that the
> advertised service types and the advertisement protocols are too 
> tightly
> coupled to make a generic API.
>
> You might be able to make a generic Bonjour API, but I don't think we 
> should
> again try and fail to make a really generic API.

Yeah I doubt it is possible to make a truly generic API for that, as it 
is
probably impossible to abstract in a way that works across the different
discovery protocols / technologies.

>
>> For example if the VLC http module only listens on v4 only, you do 
>> not
>> want to announce the v6 address too.
>
> The HTTP server is of course dual-stack, almost from the beginning. 
> But I
> don't think you want to promote the current HTTP interface and remote 
> control
> interfaces anyway. They are both ridiculously insecure and unreliable/
> unstable.

Sure, this was just an example of one possible case where blindly 
announcing
all addresses could be the wrong thing to do. Of course for most 
services in
VLC this does not matter that much…

>
> -- 
> レミ・デニ-クールモン
> http://www.remlab.net/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list