telnetjs icon indicating copy to clipboard operation
telnetjs copied to clipboard

server crashing with "need to buffer the buffer!"

Open za3k opened this issue 8 years ago • 1 comments

What exactly causes this? I'm streaming movies, so this is likely to be an issue with the buffer filling up (bandwidth being lower than streaming rate--ideally I just want to get informed and take an action if the buffer is full, like skipping frames)

za3k avatar May 07 '17 15:05 za3k

I haven't looked at this code in years... I think what's happening is that there is only a partial buffer content available to the code (it didn't reach the end of the data stream that it was expecting). A later read will likely provide that information and allow it to continue, but the code would need to be changed to buffer up the stuff that was read previously and process them all together.

wez avatar May 07 '17 15:05 wez