SPIFFS streamFile not working properly on Android but on PC
Posted: Thu Aug 09, 2018 12:56 pm
I've been running into a problem on my very simple webinteface (see attachment).
All my data is on my SPIFFS file System.
If I open any file (e.g. http://192.168.0.120/xyz.bmp) which is bigger than > ~20 kB the android device with Chrome 68 (and less) it doesn't load the page. If I load the same address with an ~80 kB File on PC (with Chrome 68 or Edge) everthing seems to be fine (load time about 390ms according to Chrome DevTools).
On an Android device it loads forever. I have an Terminal output for Request "handleFileRead" and "Sent file: xyz". And I can see that the "Sent file" output take way more longer when I open up the page with the android device.
All my data is on my SPIFFS file System.
If I open any file (e.g. http://192.168.0.120/xyz.bmp) which is bigger than > ~20 kB the android device with Chrome 68 (and less) it doesn't load the page. If I load the same address with an ~80 kB File on PC (with Chrome 68 or Edge) everthing seems to be fine (load time about 390ms according to Chrome DevTools).
On an Android device it loads forever. I have an Terminal output for Request "handleFileRead" and "Sent file: xyz". And I can see that the "Sent file" output take way more longer when I open up the page with the android device.