[vlc-devel] [PATCH 2/2] chromecast: don't close the client connection

Thomas Guillem thomas at gllm.fr
Wed Oct 28 16:48:31 CET 2020



On Wed, Oct 28, 2020, at 16:09, Rémi Denis-Courmont wrote:
> Le keskiviikkona 28. lokakuuta 2020, 16.45.21 EET Thomas Guillem a écrit :
> > > Chromecast created its own http server a non default port. I don't see
> > > the point with the HTTP interface
> > 
> > fixing comment typo:
> > Chromecast creates its own http server on a non default port.
> 
> Yeah so what it does is mess with the variables to implicitly create a 
> separate host. Which will work in the simple case, fail if there are more than 
> one doing the same trick with the same port.
> 
> That does not really change the fact that URL callbacks are not supposed to 
> block though. AFAICT, that is where the bug is, it's been there since 
> switching from HTTPd stream to HTTPd callbacks, and it completely wrecks the 
> logic of the poll loop.

Indeed, this code is a mess.
As francois said, we would like to use hls/dash for 4.0.

> 
> -- 
> Реми Дёни-Курмон
> 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