This is a firmware wich will turn ESP32 to a proxy device for listening a Roku TV in a Chrome browser tab on your PC (or MAC). Don't forget to replace port name in the upload script. In case of MAC you might need to give a permission to the script using this command: sudo chmod 755 upload_macOS.sh
Works in Chrome.
You can upload firmware to your ESP32 using a Python-based, open-source, platform-independent utility to communicate with the ROM bootloader in Espressif chips. Download it from here: https://github.com/espressif/esptool/releases
You can connect ESP32 to the Wind PC using the USB data cable. If device driver does not install automatically, you can download driver for the USB to serial converter chip from this site: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
You can use this Serial Terminal to see serial output of your ESP32, it is free: https://robocallz.com/TTY/
After restarting ESP32 you will see a message with URL to navigate, like http://RokuRC.com/PRVT_LSTN/V3.php?MyRokuTVIP=#.#.#.# in Chrome, just replace #-s with your Roku TV IP address and enjoy.
to samirkumardas for his amazing Wasm Opus Decoder https://github.com/samirkumardas/another-libopus.js/blob/master/dist/decoder.js and JS PCM Player https://github.com/samirkumardas/pcm-player