How to broadcast from Chrome or iOS to Kodi

My setup is a PC with KODI connected to my TV. It works fine but I’d like to be able to broadcast my iOS devices or my wife’s mac or my linux laptop to Kodi. In short, I’d like Kodi to act as a Chromecast would.

If I’m not mistaken, there was an AirPlay support that doens’t work anymore for Video. Is there anything to make Kodi act as a Chromecast? Any other option?