Skip to content

How to stream an mp3 file over UDP? #1749

Answered by pschatzmann
mvoss96 asked this question in Q&A
Discussion options

You must be logged in to vote

My guess would be that the audio is just sent too quick and therefore gets lost because there is no synchronization.
I suggest you try with IP instead of UDP.

You could try to write into a Queue and play back from the queue in a separate task as described here

Or better, if you are in linux, try to use Snapcast

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mvoss96
Comment options

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