[vlc-devel] [PATCH 6/9] httpd: Expose the server port

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Sep 8 13:06:41 CEST 2020


On Fri, Sep 4, 2020, at 3:45 PM, Rémi Denis-Courmont wrote:
> Le perjantaina 4. syyskuuta 2020, 11.04.09 EEST Hugo Beauzée-Luyssen a écrit :
> > Hi,
> > 
> > I see 3 possible values:
> > - http-port
> > - https-port
> > - rtsp-port
> 
> But the caller has to know which protocol it's using, so there's no ambiguity.
> 

I agree that it's easy to get the value, but I find it much more logical to query the server for the port it's been setup with rather than duplicating the logic elsewhere.

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


More information about the vlc-devel mailing list