expectingtofly wrote: 
> > bpa wrote: 
> > Is the plugin not using HTTP 1.1 for DASH chunks where there is only one
> > TCP connection for multiple GETs  - this hugely reduces the load on
> > processor  (i.e. only one DNS call for a live stream, one TCP open per
> > live stream - not per chunk) and packets response times.> It is just using 
> > the standard LMS SimpleAsyncHTTP.   I see no reason
> to change that part (it shares the same dash processing logic as
> Phillipe's You tube plugin).   I've no idea if this standard LMS
> operation sets the protocol to http 1.1, but I doubt it.
> 
> I'm seeing no load issues.  I've load tested on a very low powered
> raspberry pi model 1b.  In fact, BBC Sounds streaming uses half as
> much cpu load as the BBC IPlayer streaming I noticed (presumably that
> is because it is using AnyEvent::HTTP which is not optimised for
> LMS?).[/QUOTE> 
> 
> Re HTTP 1.1 and DNS, I've made some changes recently on my CPlus and
> YT plugin related to that. The Cplus needs a socks proxy to work and
> doing HTTPS + socks with over dash/mpd was just way to slow, with a
> DNS query for each chunk that was leading to 2 or 3 redirection (I
> guess for their load balancer). An HTTPS negotiation on top of every
> redirection was just killing it. So I decided to move to HTTP 1.1
> (that you need to set explicitly) but that was not enough due to
> redirection, so I also had to do this funny thing of keeping track of
> the redirected base url between every chunk request and querying the
> server with an url made of base + chunk's modified part (and move back
> to the full chunk's url if call fails). That allowed the 1.1 to really
> work and the connection to stay open all the time, and avoid the (3)
> SSL negotiation for every chunk.



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=113563

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to