-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
It would be cool if you could stream audio from a remote mecomp-daemon (say, one running on a media server in your network) to a local "audio-capable" client (which would be the TUI and GUI if we do this),
The easiest approach would be to just figure out how to stream audio over ssh, then "remote users" just ssh into the server running the daemon and start the tui, but that's limited and not ideal for a lot of reasons.
The best viable option (so, best option that wouldn't entail a total architecture overhaul) would be to somehow stream the audio to remote clients, who then run that audio themselves. I'm thinking I add an endpoint to the daemon to establish a tcp stream w/ the caller, and just begin forwarding audio frames from the audio kernel to that client until the connection closes,
see: RustAudio/rodio#439
Idk, I need to look into this more
btw, the use-case for this is if you have a homelab w/ all your music and want to keep your music on that server instead of syncing it to your other devices.