snapcast
snapcast copied to clipboard
Chromecast support
Original issue with motivation is here: https://github.com/badaix/snapcast/issues/750
I'm creating this as a sub-issue to debug and investigate snapcast via chromecast.
There are a bunch of relevant messages in the original thread: https://github.com/badaix/snapcast/issues/750
I do have 3 different devices that I'm testing it on:
- Basic Chromecast (that thing with HDMI output)
- Google Nest Audio speaker
- Acer Speaker Halo
When I tested a naive implementation where I just created an example receiver that redirects directly to the snapweb hosted by snapcast server It behaved differently on each device:
-
It was very laggy on the basic chromecast, The sound was delayed by several seconds and it the audio was slower than normal and very choppy
-
It works fine on Google Next Audio, it is only a little bit delayed compared to using snapweb on my laptop (it works fine after setting the latency to ~120ms in the snapweb).
-
It does not start at all on the Acer Halo speaker for some reason :disappointed:
Chromecast is too wonky and I decided I do not care enough to dig deeper. If you want to continue here you can use my fork of snapweb
with needed changes.
Then you need to create and deploy your own receiver (this should be just blank page with som JS that redirects the chromecast to snapweb url, chromecast will load even http:// page using this trick).