# Streaming from Processing to a Web Page

**URL:** <https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800>\
**Category:** Libraries\
**Created:** [September 11, 2020, 8:07pm UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800 "2020-09-11T20:07:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oduibhdiorma](https://avatars.discourse-cdn.com/v4/letter/o/858c86/32.png) [@oduibhdiorma](https://discourse.processing.org/u/oduibhdiorma)\
**Post date:** [September 11, 2020, 8:07pm UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800/1 "2020-09-11T20:07:38Z")

</div>

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

Thanks!

---

<div class="post-metadata">

**Author:** ![Mesalcode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mesalcode/32/9284_2.png) [@Mesalcode](https://discourse.processing.org/u/Mesalcode)\
**Post date:** [September 13, 2020, 8:45am UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800/2 "2020-09-13T08:45:47Z")

</div>

Please explain the use case.

---

<div class="post-metadata">

**Author:** ![oduibhdiorma](https://avatars.discourse-cdn.com/v4/letter/o/858c86/32.png) [@oduibhdiorma](https://discourse.processing.org/u/oduibhdiorma)\
**Post date:** [September 14, 2020, 1:13pm UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800/3 "2020-09-14T13:13:49Z")

</div>

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.
