[vlc-devel] [PATCH 9/9] lua: http: Announce the web interface over mdns

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Sep 10 15:34:44 CEST 2020


On Wed, Sep 9, 2020, at 6:51 PM, Rémi Denis-Courmont wrote:
> > I'm not sure to understand that point, you have the service name, type,
> > additional TXTs, and IP/hostname. That's as far as MDNS goes (AFAIK)
> 
> And how do you supply that to the API proposed in patch 1?
> 

I'm not sure I understand the question, the API offers a way of specify the name, type and port:
vlc_mdns_sa_entry* vlc_mdns_sa_entry_New( const char* name, const char* type, uint16_t port );

And allows to add TXTs: 
bool vlc_mdns_sa_entry_Add_TXT( vlc_mdns_sa_entry* entry, const char* txt );

Which covers the list I mentioned previously. Did I miss a specific kind of information that should be exposed?

Regarding the security, I'll think about something to allow some kind of pairing.

Regards,

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list