lngxa wrote: 
> Few other musings:
> 
> >   >   > 
  - this issue does not happen when playing flac most likely because
  > it is higher bitrate so it drains output buffer quicker
  - easiest way to reproduce this is probably to use long mp3 file
  > with low bitrate
  - there are few other reports of a similar issue in this forum;
  > people have fixed it by increasing squeezelite stream buffer size
  > using -b parameter
  > > > 
> 
> 
I have skimmed the above posts but since other users do not have your
problem, I would start looking at what is different on yoursystem - 
You have virtualised system - can you give more detaisl (e.g. Ubuntu
virtualised under Windows ?)

The FIN/RST issue can come about from packets not arriving. Years ago
one cause of this was a Windows security s/w inserted into network chain
and then holding onto last packet for "examination"

You seem to have suqeezelite , wireshark and LMS logs. Can you see if a
packet goes missing - probably LMS to Client  ? 

> How does LMS manage data transmission rate? Is the rate controlled by
> LMS or client?

Client "controlled".  Client issues a http/GET - LMS pushes the data out
as fast as it can so if when client buffer fills, TCP windows will stop
advancing and so LMS will not be able to send any more data until it is
allowed but it'll try.  The GET is on a separate TCP connection from
slimproto communications.

After initiating playback, client will put data into buffer until it
reaches a threshold and then it starts playing.  For small files,
usually LMS will continue sending data to client and so client will end
up buffering whole file while playing.
For large files, LMS will fill internal buffer, playback will continue,
as buffer is emptied client will request more data from LMS to kepp
buffer topped up. IIRC Underrun is sent when decoded buffer is empty. 
LMS logs of slimproto can be enable to show state of internal buffer as
reported by client.

If you alter client buffer sizes (there are two: receive and decoded) -
you may be able to characterise the problem a bit better.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114661

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to