Ron F. wrote: 
> OK, I am watching the latest addition of ProtocolHandler in Wireshark. I
> see the RP server send a data packet which Wireshark labels as "HTTP/1.1
> 206 Partial Content (audio/flac)" and I assume this to be the end of a
> chunk? This is followed by the RP protocol handler sending a [FIN, ACK]
> packet to the RP server. After RP ACKs this, we send a [SYN] and
> initiate a new connection to RP, to get the next chunk? This appears to
> be working fine in my system, but it does appear that the time from the
> termination of the one connection to receiving a full data packet - a
> TCP payload of 1448 bytes, in the following connection can take as long
> as 0.5 seconds! That is a long long time. It does not appear to be a
> problem for me, maybe because I set my LMS Radio Station Buffer to 30
> seconds. The time to terminate one connection and proceed with the next
> is usually at least 0.1 seconds.
> 
> Assuming I am making the correct assumptions, the time it takes to get a
> chunk from RP is about 0.1 seconds ... so we now spend more time
> terminating and making the next connection than actually downloading
> data. Nevertheless ... this is working well for me ... I am getting
> deterministic behavior, where I was not with the original protocol
> handler.
> 
> We need two chunks per second to keep the FLAC download going? I can see
> where depending on a user's connection to the Internet, that it could
> stutter badly.
> 
> OK, I am now putting my ignoramus hat on ... is it possible to download
> bigger chunks, and keep the advantages of this method? Hat off.

I cannot answer in details right now but can you try the update I’ve put
on my GitHub site?



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=108189

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

Reply via email to