Replies: 1 comment 1 reply
-
This buffer setting is only used to support single byte reads which are not used at all in this case. Did you try with some other radio stations ? I would recommend to use radio urls w/o ssl since ssl adds a lot of overhead. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi to all,
I'm using the library to stream MP3 music from a web radio.
It works beautifully, but when the Wi-Fi connection is so-so, it drops out periodically for a few seconds.
I have left the default configuration in AudioConfig.h, therefore USE_URLSTREAM_TASK should be already disabled.
In this case the Internal Total heap is 307556 bytes, internal Free Heap 109656 bytes, Max Alloc Heap 53236 bytes
I increased the URLStream buffer from the default 1024 to 48000 bytes, however this equals to barely 3 seconds of a 128kbps stream.
URLStream url(wifi, password,48000);
The internal Total heap is 307556 bytes, internal Free Heap 62672 bytes, Max Alloc Heap 48116 bytes.
If I try to increase the buffer to 65536 bytes it crashes at startup.
Is there any chance to increase buffer without resorting to PSRAM?
Maybe by reducing
STACK_SIZE 30000
? Or leave default buffer size and increaseURL_STREAM_BUFFER_COUNT
?Beta Was this translation helpful? Give feedback.
All reactions