Apologies if in the wrong topic, but thought this is a good place to start.
Has anyone put together a simple CLI WebAudio client for playing multimedia? I imagine it would be relatively easy to create a small Java App that registers as a webaudio client, receives the events, and plays audio using local sound subsystems, but not sure if anyone has attempted this yet. If not, could someone point me to places in the code to get started? I’m aware of the event endpoints here, but would appreciate any other tips anyone could give me to get familiar with the relevant code.
I have tried all the standard multimedia options… Kodi is pretty touchy (some installs I get nulls when trying to play audio on them, even though all the configurations seem to be the same as those where the audio is working); Squeezebox doesn’t work all that well. The playlist in the squeezebox server gets “stuck” and won’t play the notifications consistently on the clients (also the 20 second limit on the stream is annoying). If either of these worked flawlessly, I wouldn’t mind, but both of these options are also a lot heavier than what I need, given the lack of reliability in each of them.
This leads me to webaudio which is 100% reliable. No it isn’t synchronized across clients, but I’m not looking for Whole House Audio either, just a reliable way to play sounds / notifications and TTS alerts. Since webaudio is very reliable, I figure I can make a super low-footprint client that just listens to the correct API calls and plays something on the working sound subsystem.
If creating a standalone webaudio client doesn’t sound like the right answer to you, I’m all ears on options.
Thanks for the suggestions!