Support redirecting Android device audio #2471
madbrain76
started this conversation in
Feature requests and ideas
Replies: 1 comment
-
|
A new plugin has been added. Look out for Ariacast |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Once upon a time, the Google Home app supported casting the Android device device audio to a group of Chromecast devices - or Chromecast audio devices in my case. Then, Sonos sued Google, and they removed this functionality from their app. It still supports redirecting the device audio (or screen), but only to a single Chromecast devices, and no longer to a group.
My main use case is to cast audio from a Youtube music video playing in Firefox with an ad blocker, and casting that to more than one room at a time, say a whole floor, or the whole house. I'm aware that in this case, the audio and video are out of sync, but that's not a concern at all since I'm not even looking at the screen, and the phone may even be locked while I listen.
It should be noted that even using all-Google software (say, Youtube app, Youtube Music app, or Chrome, and the Google Home app) there is no way to accomplish this, even to a single Chromecast device, let alone a group, as far as I know. The Youtube app can only cast to Chromecast video devices, not Chromecast audio. This is probably due to A/V sync reasons. And the Youtube Music app can only cast audio from specific media designated as audio, not the audio from all Youtube videos, or my local device', or even my own Youtube channels video media..
I'm not sure of the technical requirements to implement this. It may require a rooted Android device (which I don' have, and don't really want to have for security reasons) or changes to the OS /APIs (having worked at Google, I won't hold my breath). Hopefully I'm wrong about that requirement.
The only sure way I can think of to enable this functionality without root, which is admittedly a bit of a hack (ok, a lot) , is to take advantage of the "analog hole" of the Chromecast audio. This bypasses both the DRM, and group limitations. And there is no ARM. Well, not that kind of ARM, anyway.
It would work like this :
Obviously, there would be some pitfalls to this approach :
Google Home device audio casting also some significant limitations.
There is also one major advantage to this approach - you can use it the same way with any audio or video device with analog audio components such as cassette decks, VCRs, turntables, reel-to-reel, Laserdisc, SACD, CD, DVD, Blu-ray, Or those with non-DRM digital outputs such as SPDIF. These could integrate very nicely with HA/MA if one has an IR transmitter, such as the 4 ESPHome AtHom AR-01 I use. Though it is very hard o impossible to maintain player state with IR-controlled devices as they are write-only.
Beta Was this translation helpful? Give feedback.
All reactions