Audio streaming solution?

I'm looking for a solution to take the audio from a website such as Spotify/Pandora/YouTube displayed using Firefox on a Windows 10 PC and route/pipe it to a local Raspberry Pi 4. Both devices are running Node-RED servers. What solutions might there be to have the Raspberry Pi 4 emulate an audio device in Windows?

I've gotten as far as sending the data via udp with the following command:

ffmpeg -f dshow -i audio="CABLE Output (VB-Audio Virtual Cable)" -c:a pcm_s16le -f rtp rtp://

And receiving it with the core udp in node.

But I cant seem to play the audio live, only save it to a file then play it after a delay. Any Ideas?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.