Remix.run Logo
▲ lxgr 7 hours ago

Looks nice, unfortunately I'll have to stick with however Google's alternative is currently called since Google Cast is the strictly better model for these types of devices in my view, compared to Airplay.

Google Cast runs the player on the cast target and only uses the device that initiates playback as an optional remote control that can be disconnected without interrupting streaming.

Airplay requires the controlling device to remain available throughout, in my experience; receiving a phone call, watching other media etc. on my phone isn't possible without interrupting playback. (This might have changed in one of the last versions, but that needs app support, and not knowing what to expect on a per app basis is at least as bad, if not worse.)

▲HaloZero 6 hours ago | parent | next [-]

I will say my experience making a chromecast custom app though has been painful. It's fine to just send media though.

I tried multiple ways, contacted their support and they just kept me trying to do the same thing over and over again. For some reason I could not register my device with my development account. Tried multiple SDKs to get it to work, just ran into the same isue.

▲secretsatan 6 hours ago | parent | prev | next [-]

Chromecast used to support streaming from the casting device, i make an app that used to use it. Sadly they no longer support that feature. Having everything on your device allows considerable more freedom.

▲lxgr 5 hours ago | parent [-]

It's definitely still possible since effectively the cast device just runs a (display-less, in case of speakers) browser instance navigating to some URL and communicating with the remote using a message passing API, right? You can display whatever you want in that URL, including HTML media elements playing back HLS or MPEG-DASH streams.

I believe they used to have some default receiver app implementations that you could just send a media URL and they'd play that back; is that what they removed?

▲Mindwipe 6 hours ago | parent | prev [-]

Fwiw both Airplay and Google Cast support both modes of operation.

But frankly Apple's developer documentation sucks around this, and unsurprisingly people don't understand what's going on when even developers don't.

▲lxgr 5 hours ago | parent [-]

Given that not even Spotify supports it, Apple can't be very serious about it. I can't be the only one who considers that a dealbreaker for a HomePod.