Web Sockets On ESP32 Audio Kit #1454
-
is it possible to use the board to play streams from WebSockets? ( I cant find any examples) this is URL https://dolphin-app-dh42m.ondigitalocean.app/ws |
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Mar 17, 2024
Replies: 1 comment 2 replies
-
I don't quite understand, please elaborate... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The short answer is yes - just use a websocket library!
However, I am afraid, it still does not make any sense to me: The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. I don't see how this would make any sense since there is no standardized official audio streaming protocol that you could use and therefore I am not providing any examples.
I also do not understand what you mean with audio bits: All audio is ultimately sent as bitstream. If you want to reduce the data quantity, you will need to use a compressing audio encoder on the sender side and the corresponding decoder on the r…