Streaming from Processing to a Web Page

Has anyone had success streaming from a Processing sketch on a desktop to a website, preferably via NodeJS?

Thanks!

Please explain the use case.

On the client side, I have a website that gets data from a user’s phone orientation, sends that to processing via OSC, and that data is translated into a 2D “mouse” pointer. Depending on where the “mouse” enters within the Processing window, a different audio file will play, using the Beads library. So I need that audio to stream back up to the user’s phone.