I have a classroom set of RPi (4, running Raspbian Buster) that students will access via VNC through their Chromebooks. Eventually the school will allow that access from off campus as well. The problem is that VNC doesn't support sending audio and I need to find a way to do that. Except for the fact that half of them will be sharing RPis and won't therefore be able to have access to individual audio (that I'm aware of) even through headphones, they could just plug in while in the classroom. Not very convenient to have 10 ethernet cable and power adapter devices floating around the room.
Things I have tried:
- UV4L streaming server - I cannot figure out how to send audio to/through it when I do connect http://aurellem.org/stream/html/how-to-stream.html - a lot of steps that didn't amount to success
- Chrome Remote Desktop - on the RPi end, it sticks on the "Installing" or "Downloading" screen without ever resolving anything, in Chromium.
- VLC - Trying to stream the desktop w/audio or even the camera throws back an "unable to open the MRL" for each attempt. Even streaming a local audio file appears to "work", but I've yet to get the sound to play remotely. I've also attempted to do this from the command prompt, following various directions from the Videolan wiki and other sites. Even this ridiculously simple task as presented here: https://www.softwarert.com/stream-music-movies-local-network-vlc-player/ is dumbfounding me trying to receive the stream via local VLC.
- A few pulseaudio specific guides, including this page https://wiki.archlinux.org/index.php/PulseAudio/Examples#PulseAudio_over_network
- And a few other sets of directions from other sites. I've been searching and attempting ideas for 2 months on this and am running out of time to make it matter for this class.
To make matters even more difficult, I'm sure, I'd like to be able to have each user be able to stream their own local sound. We'll be doing SonicPi creations. Assumptions I have include that pulseaudio can convert software audio output to just a data stream without requiring hardware sound devices. If that's incorrect, the RPi has both analog and hdmi audio, so I'm wondering if users can be assigned one that would be used to stream their output, once the problems above are solved.
I'm not one for asking for help, but I'm running out of ideas. thanks.