Live data from Hacker News

The Unofficial Apple Events App for MacOS with Chromecast Support

github.com

11–16 of 16 posts

Re: The Unofficial Apple Events App for MacOS with Chromecast Support

#11
post #8

Earlier quoted context omitted.

It's open source - https://developers.google.com/cast/

But unfortunately is only available for "Android, Chrome or iOS app" So this means other applications like Firefox, VLC etc... would have to reverse engineer the protocol.

VLC has Chromecast support in the development version, and has had it for over a year now. They had to reverse-engineer the protocol. I think the UI is a bit cludgey but it works.

Re: The Unofficial Apple Events App for MacOS with Chromecast Support

#12
post #6

Did you reverse engineer the Chromecast protocol ? Or is it opensource now ?

The Chromecast protocol specification (CASTV2) itself is sort of open. To implement it on macOS I did a little bit of reverse engineering and used a description of the protocol I found here: https://github.com/thibauts/node-castv2

Re: The Unofficial Apple Events App for MacOS with Chromecast Support

#13
post #3

This is nice. Though, I plan on going through the source code later, can you give a short gist of how it works?

I don't know which part you're most interested in, but in a nutshell: the events are fetched from the same API as the Apple TV Events app (found that using a proxy), the Chromecast streaming uses Bonjour to find Chromecast devices on the network and the CASTV2 protocol over TCP to send commands to them.

Re: The Unofficial Apple Events App for MacOS with Chromecast Support

#16
post #14

There might be a naming clash here. https://en.wikipedia.org/wiki/Apple_event

Hahahahaha true!

Yes, I went to the link quite happy because I thought it was related to AppleEvents and maybe Apple Scripts. Your app is definitely cool, congratulations on your work but the name got me fooled.

PS: Maybe the HN people haven't used MacOS 9 and AppleScript a lot and will not do the association I did.

Post reply on HN