Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get control back with problematic webstream #114

Closed
biologist79 opened this issue Feb 13, 2021 · 1 comment · Fixed by #132
Closed

Get control back with problematic webstream #114

biologist79 opened this issue Feb 13, 2021 · 1 comment · Fixed by #132

Comments

@biologist79
Copy link

HI,

it's me again, the ESPuino-guy (recently had to rename my projec coming from Tonuinot) :-) However, got a question to you - it's not really a bug.

Got your ESP32-audioI2S running in a dedicated task. Now the communication with this task is primarily done by queues (next track, prev. track, different playlist, vol+, vol-...). This runs fine. But the problem is: it only works, when ESP32-audioI2S is cooperative. So guess there's a webstream that's lagging, sometimes there's no way to get control back (unless I do a restart). Meaning: I can fill the queue with stuff, but ESP32-audioI2S doesn't respond to commands.

Is there a way to tell ESP32-audioI2S to do a restart/retry of that what's currently doing? Or maybe stopping and returning an error code?

Thanks in advance.

BR
Torsten.

@schreibfaul1
Copy link
Owner

Yes, that happens when the thread is stuck in the depths of the WiFi and only returns to the loop() after a delay or timeout. I leave the question open, maybe someone reading this has a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants