Skip to content
Discussion options

You must be logged in to vote

You are doing way too much, so it is difficult to say if the issue has been introduced by your code!

Your goal should be to identify the playback bottleneck first!

My gut feeling is that your esp32 network stack is too slow to provide the required amout of data...

  • If you have the chance to test with a SD card, try to test with SDMMC: If this is working, the issue is definitly the network.
  • I would recommend to start with the simplest decoding sketch as possible.
  • Try it with a http url first: https adds a lot of additional overhead
  • Try to replace the URLStream with URLStreamBuffered (and play around with the buffer size): Buffering the encoded data is much more efficient that having a big …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants